MediaWiki REL1_35
|
Stable to implement. More...
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. | |
Stable to implement.
Definition at line 13 of file XmlDumpWriterWriteRevisionHook.php.
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.
XmlDumpWriter | $obj | |
string | &$out | Text being output |
stdClass | $row | Database row for the revision being dumped. DEPRECATED, use $rev instead. |
string | $text | Revision text to be dumped. DEPRECATED, use $rev instead. |
RevisionRecord | $rev | RevisionRecord that is being dumped to XML |
Implemented in MediaWiki\HookContainer\HookRunner.