MediaWiki REL1_35
|
Public Member Functions | |
onPageContentInsertComplete ( $wikiPage, $user, $content, $summary, $isMinor, $isWatch, $section, $flags, $revision) | |
This hook is called after a new article is created. | |
Definition at line 14 of file PageContentInsertCompleteHook.php.
MediaWiki\Storage\Hook\PageContentInsertCompleteHook::onPageContentInsertComplete | ( | $wikiPage, | |
$user, | |||
$content, | |||
$summary, | |||
$isMinor, | |||
$isWatch, | |||
$section, | |||
$flags, | |||
$revision | |||
) |
This hook is called after a new article is created.
WikiPage | $wikiPage | WikiPage created |
User | $user | User creating the article |
Content | $content | New content |
string | $summary | Edit summary/comment |
bool | $isMinor | Whether or not the edit was marked as minor |
null | $isWatch | (No longer used) |
null | $section | (No longer used) |
int | $flags | Flags passed to WikiPage::doEditContent() |
Revision | $revision | New Revision of the article |
Implemented in MediaWiki\HookContainer\HookRunner.