MediaWiki  master
XmlDumpWriterWriteRevisionHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use stdClass;
7 use XmlDumpWriter;
8 
29  public function onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev );
30 }
Page revision base class.
This is a hook handler interface, see docs/Hooks.md.
onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev)
This hook is called at the end of a revision in an XML dump, to add extra metadata.