Manual:Hooks/XmlDumpWriterOpenPage
From MediaWiki.org
| XmlDumpWriterOpenPage | |
|---|---|
| Available from version 1.16.0 Called at the end of XmlDumpWriter::openPage, to allow extra metadata to be added. |
|
Define function: |
public static function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title ) { ... }
|
Attach hook: |
$wgHooks['XmlDumpWriterOpenPage'][] = 'MyExtensionHooks::onXmlDumpWriterOpenPage'; |
| Called from: | Export.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:XmlDumpWriterOpenPage extensions.
[edit] Details
- $obj: The XmlDumpWriter object.
- &$out: The output string.
- $row: The database row for the page.
- $title: The title of the page.