MediaWiki  master
MediaWiki\SpecialPage\Hook\SpecialPage_initListHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\SpecialPage\Hook\SpecialPage_initListHook:

Public Member Functions

 onSpecialPage_initList (&$list)
 This hook is called when setting up SpecialPageFactory::$list. More...
 

Detailed Description

Stable to implement.

Definition at line 10 of file SpecialPage_initListHook.php.

Member Function Documentation

◆ onSpecialPage_initList()

MediaWiki\SpecialPage\Hook\SpecialPage_initListHook::onSpecialPage_initList ( $list)

This hook is called when setting up SpecialPageFactory::$list.

Use this hook to remove a core special page or conditionally register special pages.

Since
1.35
Parameters
array&$listList of core special pages
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: