MediaWiki 1.39.10
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onOutputPageMakeCategoryLinks ( $out, $categories, &$links) | |
This hook is called when links are about to be generated for the page's categories. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "OutputPageMakeCategoryLinks" to register handlers implementing this interface.
Definition at line 14 of file OutputPageMakeCategoryLinksHook.php.
MediaWiki\Hook\OutputPageMakeCategoryLinksHook::onOutputPageMakeCategoryLinks | ( | $out, | |
$categories, | |||
& | $links ) |
This hook is called when links are about to be generated for the page's categories.
OutputPage | $out | |
string[] | $categories | Associative array in which keys are category names and values are category types ("normal" or "hidden") |
array | &$links | Intended to hold the result. Associative array with category types as keys and arrays of HTML links as values. |
Implemented in MediaWiki\HookContainer\HookRunner.