MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onWatchlistEditorBeforeFormRender (&$watchlistInfo) | |
This hook is called before building the Special:EditWatchlist form. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "WatchlistEditorBeforeFormRender" to register handlers implementing this interface.
Definition at line 12 of file WatchlistEditorBeforeFormRenderHook.php.
MediaWiki\Hook\WatchlistEditorBeforeFormRenderHook::onWatchlistEditorBeforeFormRender | ( | & | $watchlistInfo | ) |
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.
array | &$watchlistInfo | Array of watchlisted pages in [namespaceId => ['title1' => 1, 'title2' => 1]] format |
Implemented in MediaWiki\HookContainer\HookRunner.