MediaWiki master
MediaWiki\Hook\XmlDumpWriterOpenPageHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onXmlDumpWriterOpenPage ( $obj, &$out, $row, $title)
 This hook is called at the end of XmlDumpWriter::openPage, to allow extra metadata to be added.
 

Detailed Description

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

Use the hook name "XmlDumpWriterOpenPage" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file XmlDumpWriterOpenPageHook.php.

Member Function Documentation

◆ onXmlDumpWriterOpenPage()

MediaWiki\Hook\XmlDumpWriterOpenPageHook::onXmlDumpWriterOpenPage ( $obj,
& $out,
$row,
$title )

This hook is called at the end of XmlDumpWriter::openPage, to allow extra metadata to be added.

Since
1.35
Parameters
XmlDumpWriter$obj
string&$outOutput string
stdClass$rowDatabase row for the page
Title$titleTitle of the page
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: