MediaWiki master
MediaWiki\Hook\ImportHandleUploadXMLTagHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onImportHandleUploadXMLTag ( $reader, $revisionInfo)
 This hook is called when parsing an XML tag in a file upload.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file ImportHandleUploadXMLTagHook.php.

Member Function Documentation

◆ onImportHandleUploadXMLTag()

MediaWiki\Hook\ImportHandleUploadXMLTagHook::onImportHandleUploadXMLTag ( $reader,
$revisionInfo )

This hook is called when parsing an XML tag in a file upload.

Since
1.35
Parameters
WikiImporter$reader
array$revisionInfoArray of 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: