MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. 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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "XmlDumpWriterWriteRevision" to register handlers implementing this interface.
Definition at line 16 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.