MediaWiki  master
MediaWiki\Hook\SpecialNewPagesFiltersHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SpecialNewPagesFiltersHook:

Public Member Functions

 onSpecialNewPagesFilters ( $special, &$filters)
 This hook is called after building form options at NewPages. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialNewPagesFilters" to register handlers implementing this interface.

Stable to implement

Definition at line 14 of file SpecialNewPagesFiltersHook.php.

Member Function Documentation

◆ onSpecialNewPagesFilters()

MediaWiki\Hook\SpecialNewPagesFiltersHook::onSpecialNewPagesFilters (   $special,
$filters 
)

This hook is called after building form options at NewPages.

Since
1.35
Parameters
SpecialNewPages$specialThe special page object
array&$filtersAssociative array of filter definitions. The keys are the HTML name/URL parameters. Each key maps to an associative array with a 'msg' (message key) and a 'default' value.
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: