MediaWiki REL1_35
MediaWiki\Hook\XmlDumpWriterOpenPageHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\XmlDumpWriterOpenPageHook:

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

Stable to implement.

Definition at line 13 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: