MediaWiki  master
Page\Hook\CategoryAfterPageAddedHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for Page\Hook\CategoryAfterPageAddedHook:

Public Member Functions

 onCategoryAfterPageAdded ( $category, $wikiPage)
 This hook is called after a page is added to a category. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "CategoryAfterPageAdded" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file CategoryAfterPageAddedHook.php.

Member Function Documentation

◆ onCategoryAfterPageAdded()

Page\Hook\CategoryAfterPageAddedHook::onCategoryAfterPageAdded (   $category,
  $wikiPage 
)

This hook is called after a page is added to a category.

Since
1.35
Parameters
Category$categoryCategory that page was added to
WikiPage$wikiPageWikiPage that was added
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: