Manual:Hooks/ModifyExportQuery/es

Category:MediaWiki hooks/es#ModifyExportQuery Category:Hooks added in MediaWiki 1.16.0/es#ModifyExportQuery
ModifyExportQuery
Disponible desde versión 1.16.0
Modify the query used by the exporter.
Definir función:
public static function onModifyExportQuery( $db, &$tables, &$cond, &$opts, &$join_conds, &$conds ) { ... }
Attach hook: En extension.json:
{
	"Hooks": {
		"ModifyExportQuery": "MediaWiki\\Extension\\MyExtension\\Hooks::onModifyExportQuery"
	}
}
Called from: Archivo(s): export/WikiExporter.phpCategory:MediaWiki hooks included in WikiExporter.php#es
Interface: ModifyExportQueryHook.php

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

Detalles

  • $db - The database object to be queried.
  • &$tables - Tables in the query.
  • &$cond - An SQL fragment included in the WHERE clause which is used to filter the results
  • &$opts - Options for the query.
  • &$join_conds - Join conditions for the query.
  • &$conds - Conditions in the query.
Category:Hooks added in MediaWiki 1.16.0/es Category:MediaWiki hooks/es Category:MediaWiki hooks included in WikiExporter.php