Manual:Hooks/WantedPages::getQueryInfo

From MediaWiki.org
Jump to: navigation, search
WantedPages::getQueryInfo
Available from version 1.18.0 (r78786)
Called in WantedPagesPage::getQueryInfo(), can be used to alter the SQL query which gets the list of wanted pages.

Define function:
public static function onWantedPages::getQueryInfo( &$wantedPages, &$query ) { ... }

Attach hook:
$wgHooks['WantedPages::getQueryInfo'][] = 'MyExtensionHooks::onWantedPages::getQueryInfo';
Called from: SpecialWantedpages.php

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


[edit] Details

  • &$wantedPages: WantedPagesPage object
  • &$query: query array, see QueryPage::getQueryInfo() for format documentation
Language: English  • Bahasa Indonesia • 日本語
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox