MediaWiki REL1_35
MediaWiki\Hook\XmlDumpWriterWriteRevisionHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\XmlDumpWriterWriteRevisionHook:

Public Member Functions

 onXmlDumpWriterWriteRevision ( $obj, &$out, $row, $text, $rev)
 This hook is called at the end of a revision in an XML dump, to add extra metadata.
 

Detailed Description

Stable to implement.

Definition at line 13 of file XmlDumpWriterWriteRevisionHook.php.

Member Function Documentation

◆ onXmlDumpWriterWriteRevision()

MediaWiki\Hook\XmlDumpWriterWriteRevisionHook::onXmlDumpWriterWriteRevision (   $obj,
$out,
  $row,
  $text,
  $rev 
)

This hook is called at the end of a revision in an XML dump, to add extra metadata.

Since
1.35
Parameters
XmlDumpWriter$obj
string&$outText being output
stdClass$rowDatabase row for the revision being dumped. DEPRECATED, use $rev instead.
string$textRevision text to be dumped. DEPRECATED, use $rev instead.
RevisionRecord$revRevisionRecord that is being dumped to XML
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: