This page is a translated version of the page Manual:Hooks/ModifyExportQuery and the translation is 25% complete.
Disponible desde versión 1.16.0
Modify the query used by the exporter.
Definir función:
public static function onModifyExportQuery( $db, &$tables, &$conds, &$opts, &$join_conds ) { ... }
Attach hook: En extension.json:
	"Hooks": {
		"ModifyExportQuery": "MyExtensionHooks::onModifyExportQuery"
Called from: Archivo(s): export/WikiExporter.php
Interface: ModifyExportQueryHook.php

For more information about attaching hooks, see Manual:Enganches .
For examples of extensions using this hook, see Category:ModifyExportQuery extensions/es.


  • $db - The database object to be queried.
  • &$tables - Tables in the query.
  • &$conds - Conditions in the query.
  • &$opts - Options for the query.
  • &$join_conds - Join conditions for the query.