MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onOutputPageRenderCategoryLink (OutputPage $outputPage, ProperPageIdentity $categoryTitle, string $text, ?string &$link) | |
This hook is called when a category link is rendered. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "OutputPageRenderCategoryLink" to register handlers implementing this interface.
Definition at line 15 of file OutputPageRenderCategoryLinkHook.php.
MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook::onOutputPageRenderCategoryLink | ( | OutputPage | $outputPage, |
ProperPageIdentity | $categoryTitle, | ||
string | $text, | ||
?string & | $link ) |
This hook is called when a category link is rendered.
OutputPage | $outputPage | |
ProperPageIdentity | $categoryTitle | Category title |
string | $text | HTML escaped category name |
?string | &$link | HTML of rendered category link which can be replaced by a different HTML |
Implemented in MediaWiki\HookContainer\HookRunner.