Manual:Hooks/wgQueryPages

From MediaWiki.org

Jump to: navigation, search
wgQueryPages
Available from version 1.6.0
Runs for every Special page that extends the QueryPage class (fired when including the file QueryPage.php. It is only useful in maintenance/updateSpecialPages.php.

*Define function:
function fnMyHook( &$wgQueryPages ) { ... }

*Attach hook:
$wgHooks['wgQueryPages'][] = 'fnMyHook';
Called from: QueryPage.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:wgQueryPages extensions.