MediaWiki
REL1_40
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:41
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:75
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 Thu Jun 27 2024 14:03:30 for MediaWiki by
1.10.0