Localisation updates from https://translatewiki.net.
[mediawiki.git] / includes / export / Hook / XmlDumpWriterOpenPageHook.php
bloba67397b0dd53e17c4e95b6a8f3a9c9d558c3fa77
1 <?php
3 namespace MediaWiki\Hook;
5 use MediaWiki\Title\Title;
6 use stdClass;
7 use XmlDumpWriter;
9 /**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "XmlDumpWriterOpenPage" to register handlers implementing this interface.
13 * @stable to implement
14 * @ingroup Hooks
16 interface XmlDumpWriterOpenPageHook {
17 /**
18 * This hook is called at the end of XmlDumpWriter::openPage, to allow
19 * extra metadata to be added.
21 * @since 1.35
23 * @param XmlDumpWriter $obj
24 * @param string &$out Output string
25 * @param stdClass $row Database row for the page
26 * @param Title $title Title of the page
27 * @return bool|void True or no return value to continue or false to abort
29 public function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title );