Manual:Hooks/HtmlPageLinkRendererEnd

Used when generating internal and interwiki links in LinkRenderer, just before the function returns a value. If you return true, an  element with HTML attributes $attribs and contents $html will be returned. If you return false, $ret will be returned.

Details

 * : the LinkRenderer object
 * : the LinkTarget that the link is pointing to
 * : boolean indicating whether the page is known or not
 * : the contents that the  tag should have; either a plain, unescaped string or a HtmlArmor object.
 * : the final HTML attributes of the  tag, after processing, in associative array form.
 * : the value to return if your hook returns false.