Page MenuHomeWickedGov Phorge

WatchlistEditorBeforeFormRenderHook.php
No OneTemporary

Size
762 B
Referenced Files
None
Subscribers
None

WatchlistEditorBeforeFormRenderHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "WatchlistEditorBeforeFormRender" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface WatchlistEditorBeforeFormRenderHook {
/**
* This hook is called before building the Special:EditWatchlist form.
*
* It is used to manipulate the list of pages or preload data based on that list.
*
* @since 1.35
*
* @param array &$watchlistInfo Array of watchlisted pages in
* [namespaceId => ['title1' => 1, 'title2' => 1]] format
* @return bool|void True or no return value to continue or false to abort
*/
public function onWatchlistEditorBeforeFormRender( &$watchlistInfo );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 08:48 (13 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2f/a6/a17266a0975e21c099657e8ac7a4
Default Alt Text
WatchlistEditorBeforeFormRenderHook.php (762 B)

Event Timeline