MediaWiki REL1_35
MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 9 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: