MediaWiki master
MediaWiki\Hook\SpecialNewPagesFiltersHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: 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: