MediaWiki  master
CategoryAfterPageAddedHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Category;
6 use WikiPage;
7 
25  public function onCategoryAfterPageAdded( $category, $wikiPage );
26 }
Category
Category objects are immutable, strictly speaking.
Definition: Category.php:33
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
Page::Hook\CategoryAfterPageAddedHook
This is a hook handler interface, see docs/Hooks.md.
Definition: CategoryAfterPageAddedHook.php:15
Page::Hook\CategoryAfterPageAddedHook\onCategoryAfterPageAdded
onCategoryAfterPageAdded( $category, $wikiPage)
This hook is called after a page is added to a category.
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3