MediaWiki REL1_39
MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook:

Public Member Functions

 onSpecialWatchlistGetNonRevisionTypes (&$nonRevisionTypes)
 This hook is called when building the SQL query for SpecialWatchlist.
 

Detailed Description

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

Use the hook name "SpecialWatchlistGetNonRevisionTypes" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file SpecialWatchlistGetNonRevisionTypesHook.php.

Member Function Documentation

◆ onSpecialWatchlistGetNonRevisionTypes()

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.

Since
1.35
Parameters
int[]&$nonRevisionTypesArray of values in the rc_type field of the recentchanges table
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: