< Manual:Hooks
| 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": "MyExtensionHooks::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
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
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.