MediaWiki master
MediaWiki\Hook\WikiExporter__dumpStableQueryHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onWikiExporter__dumpStableQuery (&$tables, &$opts, &$join)
 Use this hook to get the SELECT query for "stable" revisions dumps.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "WikiExporter::dumpStableQuery" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 13 of file WikiExporter__dumpStableQueryHook.php.

Member Function Documentation

◆ onWikiExporter__dumpStableQuery()

MediaWiki\Hook\WikiExporter__dumpStableQueryHook::onWikiExporter__dumpStableQuery ( & $tables,
& $opts,
& $join )

Use this hook to get the SELECT query for "stable" revisions dumps.

One, and only one hook should set this, and return false.

Since
1.35
Parameters
array&$tablesDatabase tables to use in the SELECT query
array&$optsOptions to use for the query
array&$joinJoin conditions
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: