MediaWiki master
MediaWiki\Hook\ImportHandleRevisionXMLTagHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onImportHandleRevisionXMLTag ( $reader, $pageInfo, $revisionInfo)
 This hook is called when parsing an XML tag in a page revision.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ImportHandleRevisionXMLTag" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file ImportHandleRevisionXMLTagHook.php.

Member Function Documentation

◆ onImportHandleRevisionXMLTag()

MediaWiki\Hook\ImportHandleRevisionXMLTagHook::onImportHandleRevisionXMLTag ( $reader,
$pageInfo,
$revisionInfo )

This hook is called when parsing an XML tag in a page revision.

Since
1.35
Parameters
WikiImporter$reader
array$pageInfoArray of page information
array$revisionInfoArray of revision information
Returns
bool|void True or no return value to continue, or false to stop further processing of the tag

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: