MediaWiki  master
MediaWiki\Hook\SpecialTrackingCategories__generateCatLinkHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SpecialTrackingCategories__generateCatLinkHook:

Public Member Functions

 onSpecialTrackingCategories__generateCatLink ( $specialPage, $catTitle, &$html)
 This hook is called for each category link on Special:TrackingCategories. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialTrackingCategories::generateCatLink" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file SpecialTrackingCategories__generateCatLinkHook.php.

Member Function Documentation

◆ onSpecialTrackingCategories__generateCatLink()

MediaWiki\Hook\SpecialTrackingCategories__generateCatLinkHook::onSpecialTrackingCategories__generateCatLink (   $specialPage,
  $catTitle,
$html 
)

This hook is called for each category link on Special:TrackingCategories.

Since
1.35
Parameters
SpecialTrackingCategories$specialPage
Title$catTitleThe Title object of the linked category
string&$htmlThe Result html
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: