def METHOD_NAME(self, request, wiki_link):
    try:
        self.check_permissions(request, "create_wiki_page", wiki_link)
    except exc.PermissionDenied:
        # Create only the wiki link because the user doesn't have permission.
        pass
    else:
        # Create the wiki link and the wiki page if not exist.
        wiki_page, created = models.WikiPage.objects.get_or_create(
            slug=wiki_link.href,
            project=wiki_link.project,
            defaults={"owner": self.request.user, "last_modifier": self.request.user})
        if created:
            # Create the new history entry, Set watcher for the new wiki page
            # and send notifications about the new page created
            history = take_snapshot(wiki_page, user=self.request.user)
            analize_object_for_watchers(wiki_page, history.comment, history.owner)
            send_notifications(wiki_page, history=history)