Manual:Hooks/HtmlPageLinkRendererBegin

Used when generating internal and interwiki links in LinkRenderer, before processing starts. Return false to skip default processing and return $ret.

Parameters:


 * : the LinkRenderer object
 * : the LinkTarget that the link is pointing to
 * : the contents that the  tag should have; either a plain, unescaped string or a HtmlArmor object; null means "default".
 * : the HTML attributes that the  tag should have, in associative array form, with keys and values unescaped. Should be merged with default values, with a value of false meaning to suppress the attribute.
 * : the query string to add to the generated URL (the bit after the "?"), in associative array form, with keys and values unescaped.
 * : the value to return if your hook returns false.