Page MenuHomeWickedGov Phorge

SpecialWatchlistGetNonRevisionTypesHook.php
No OneTemporary

Size
958 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.
*
* @deprecated since 1.45, extensions should instead ensure that rc_this_oldid is set to
* zero on recent changes entries that do not relate to any particular revision
* @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
Mon, Nov 23, 03:07 (2 d, 22 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
de/ea/c9086922c1636cc98aa4a6df8950
Default Alt Text
SpecialWatchlistGetNonRevisionTypesHook.php (958 B)

Event Timeline