Page MenuHomeWickedGov Phorge

SpecialWatchlistGetNonRevisionTypesHook.php
No OneTemporary

Size
813 B
Referenced Files
None
Subscribers
None

SpecialWatchlistGetNonRevisionTypesHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialWatchlistGetNonRevisionTypes" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialWatchlistGetNonRevisionTypesHook {
/**
* 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
*
* @param int[] &$nonRevisionTypes Array of values in the rc_type field of
* the recentchanges table
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialWatchlistGetNonRevisionTypes( &$nonRevisionTypes );
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Aug 19, 12:33 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f4/6a/ecc2ddbb6926abcf8391de10bacd
Default Alt Text
SpecialWatchlistGetNonRevisionTypesHook.php (813 B)

Event Timeline