MediaWiki
master
CategoryAfterPageAddedHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\Category\Category
;
6
use
WikiPage
;
7
15
interface
CategoryAfterPageAddedHook
{
25
public
function
onCategoryAfterPageAdded
( $category, $wikiPage );
26
}
MediaWiki\Category\Category
Category objects are immutable, strictly speaking.
Definition
Category.php:42
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Page\Hook\CategoryAfterPageAddedHook
This is a hook handler interface, see docs/Hooks.md.
Definition
CategoryAfterPageAddedHook.php:15
MediaWiki\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
includes
page
Hook
CategoryAfterPageAddedHook.php
Generated on Mon Dec 9 2024 19:24:43 for MediaWiki by
1.10.0