Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5970831
CategoryAfterPageAddedHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
CategoryAfterPageAddedHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Category\Category
;
use
WikiPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "CategoryAfterPageAdded" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
CategoryAfterPageAddedHook
{
/**
* This hook is called after a page is added to a category.
*
* @since 1.35
*
* @param Category $category Category that page was added to
* @param WikiPage $wikiPage WikiPage that was added
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onCategoryAfterPageAdded
(
$category
,
$wikiPage
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 14:45 (18 h, 13 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
89/0b/426c852bbf48fd19a115ac28cbab
Default Alt Text
CategoryAfterPageAddedHook.php (687 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment