Manual:Hooks/WantedPages::getSQL
From MediaWiki.org
|
|
This feature has been deprecated and should not be used with current versions of MediaWiki. This feature was deprecated (or possibly removed completely) in version 1.18.0. |
| WantedPages::getSQL | |
|---|---|
| Available from version 1.15.0 Removed in version 1.18.0 Called in WantedPagesPage::getSQL(), can be used to alter the SQL query which gets the list of wanted pages. |
|
Define function: |
public static function onWantedPages::getSQL( &$wantedPages, &$sql ) { ... }
|
Attach hook: |
$wgHooks['WantedPages::getSQL'][] = 'MyExtensionHooks::onWantedPages::getSQL'; |
| Called from: | SpecialWantedpages.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:WantedPages::getSQL extensions.
Warning: This hook was removed in version 1.18.0, use Manual:Hooks/WantedPages::getQueryInfo instead.
[edit] Details
- &$wantedPages: WantedPagesPage object
- &$sql: raw SQL query used to get the list of wanted pages