MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSpecialWatchlistGetNonRevisionTypes (&$nonRevisionTypes) | |
This hook is called when building the SQL query for SpecialWatchlist. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialWatchlistGetNonRevisionTypes" to register handlers implementing this interface.
Definition at line 12 of file SpecialWatchlistGetNonRevisionTypesHook.php.
MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook::onSpecialWatchlistGetNonRevisionTypes | ( | & | $nonRevisionTypes | ) |
This hook is called when building the SQL query for SpecialWatchlist.
It allows extensions to register custom values they have inserted to rc_type so they can be returned as part of the watchlist.
int[] | &$nonRevisionTypes | Array of values in the rc_type field of the recentchanges table |
Implemented in MediaWiki\HookContainer\HookRunner.