MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onGetLinkColours ( $linkcolour_ids, &$colours, $title) | |
Use this hook to modify the CSS class of an array of page links. | |
Stable to implement.
Definition at line 11 of file GetLinkColoursHook.php.
MediaWiki\Hook\GetLinkColoursHook::onGetLinkColours | ( | $linkcolour_ids, | |
& | $colours, | ||
$title | |||
) |
Use this hook to modify the CSS class of an array of page links.
string[] | $linkcolour_ids | Array of prefixed DB keys of the pages linked to, indexed by page_id |
string[] | &$colours | (Output) Array of CSS classes, indexed by prefixed DB keys |
Title | $title | Title of the page being parsed, on which the links will be shown |
Implemented in MediaWiki\HookContainer\HookRunner.