3 namespace MediaWiki\Hook
;
5 use MediaWiki\Title\Title
;
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
16 interface XmlDumpWriterOpenPageHook
{
18 * This hook is called at the end of XmlDumpWriter::openPage, to allow
19 * extra metadata to be added.
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 );