Manual:Hooks/WikiExporter::dumpStableQuery
Appearance
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: | In extension.json:
{ "Hooks":{ "WikiExporter::dumpStableQuery":"MediaWiki\\Extension\\MyExtension\\Hooks::onWikiExporterdumpStableQuery" } } |
| Called from: | File(s): export/WikiExporter.php |
| Interface: | WikiExporter__dumpStableQueryHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:WikiExporter::dumpStableQuery extensions.
Details
[edit ]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