MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onAfterImportPage ( $title, $foreignTitle, $revCount, $sRevCount, $pageInfo) | |
This hook is called when a page import is completed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AfterImportPage" to register handlers implementing this interface.
Definition at line 15 of file AfterImportPageHook.php.
MediaWiki\Hook\AfterImportPageHook::onAfterImportPage | ( | $title, | |
$foreignTitle, | |||
$revCount, | |||
$sRevCount, | |||
$pageInfo | |||
) |
This hook is called when a page import is completed.
Title | $title | Title under which the revisions were imported |
ForeignTitle | $foreignTitle | ForeignTitle object based on data provided by the XML file |
int | $revCount | Number of revisions in the XML file |
int | $sRevCount | Number of successfully imported revisions |
array | $pageInfo | Associative array of page information |
Implemented in MediaWiki\HookContainer\HookRunner.