MediaWiki REL1_35
MediaWiki\Hook\AfterImportPageHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\AfterImportPageHook:

Public Member Functions

 onAfterImportPage ( $title, $foreignTitle, $revCount, $sRevCount, $pageInfo)
 This hook is called when a page import is completed.

Detailed Description

Stable to implement.

Definition at line 12 of file AfterImportPageHook.php.

Member Function Documentation

◆ onAfterImportPage()

MediaWiki\Hook\AfterImportPageHook::onAfterImportPage (   $title,

This hook is called when a page import is completed.

Title$titleTitle under which the revisions were imported
ForeignTitle$foreignTitleForeignTitle object based on data provided by the XML file
int$revCountNumber of revisions in the XML file
int$sRevCountNumber of successfully imported revisions
array$pageInfoAssociative array of page information
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.

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