MediaWiki REL1_37
MediaWiki\SpecialPage\Hook\WgQueryPagesHook Interface Reference

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

Inheritance diagram for MediaWiki\SpecialPage\Hook\WgQueryPagesHook:

Public Member Functions

 onWgQueryPages (&$qp)
 This hook is called when initialising list of QueryPage subclasses.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file WgQueryPagesHook.php.

Member Function Documentation

◆ onWgQueryPages()

MediaWiki\SpecialPage\Hook\WgQueryPagesHook::onWgQueryPages ( $qp)

This hook is called when initialising list of QueryPage subclasses.

Use this hook to add new query pages to be updated with maintenance/updateSpecialPages.php.

Since
1.35
Parameters
array&$qpList of QueryPages
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: