MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onWgQueryPages (&$qp) | |
This hook is called when initialising list of QueryPage subclasses. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "wgQueryPages" to register handlers implementing this interface.
Definition at line 12 of file WgQueryPagesHook.php.
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.
array[] | &$qp | List of QueryPages Format: [ string $class, string $specialPageName, ?int $limit (optional) ]. Limit defaults to $wgQueryCacheLimit if not given. |
Implemented in MediaWiki\HookContainer\HookRunner.