Manual:Hooks/WikiExporter::dumpStableQuery
From MediaWiki.org
| WikiExporter::dumpStableQuery | |
|---|---|
| Available from version 1.15.0 Get the SELECT query for "stable" revisions dumps. |
|
Define function: |
public static function onWikiExporter::dumpStableQuery( &$tables, &$opts, &$join ) { ... }
|
Attach hook: |
$wgHooks['WikiExporter::dumpStableQuery'][] = 'MyExtensionHooks::onWikiExporter::dumpStableQuery'; |
| Called from: | Export.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:WikiExporter::dumpStableQuery extensions.
[edit] Details
One, and only one hook should set this, and return false.
- &$tables: Database tables to use in the SELECT query
- &$opts: Options to use for the query
- &$join: Join conditions
