'Records links between documents, and then calls super().'

def _hook_internal_link(self, parser, space, name):

    title = name.split('|')[0]
    locale = self.current_doc.locale
    linked_doc = get_object_fallback(Document, title, locale)
    if (linked_doc is not None):
        self.current_doc.add_link_to(linked_doc, 'link')
    return super(WhatLinksHereParser, self)._hook_internal_link(parser, space, name)
