3 namespace MediaWiki\Hook
;
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
7 * This is a hook handler interface, see docs/Hooks.md.
8 * Use the hook name "WikiExporter::dumpStableQuery" to register handlers implementing this interface.
10 * @stable to implement
13 interface WikiExporter__dumpStableQueryHook
{
15 * Use this hook to get the SELECT query for "stable" revisions
16 * dumps. One, and only one hook should set this, and return false.
20 * @param array &$tables Database tables to use in the SELECT query
21 * @param array &$opts Options to use for the query
22 * @param array &$join Join conditions
23 * @return bool|void True or no return value to continue or false to abort
25 public function onWikiExporter__dumpStableQuery( &$tables, &$opts, &$join );