Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / page / Hook / CategoryPageViewHook.php
blob0cdfe89a24e440f85d4b75eb37e4c6e54d31fd39
1 <?php
3 namespace MediaWiki\Page\Hook;
5 use CategoryPage;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "CategoryPageView" to register handlers implementing this interface.
11 * @stable to implement
12 * @ingroup Hooks
14 interface CategoryPageViewHook {
15 /**
16 * This hook is called before viewing a categorypage in CategoryPage::view.
18 * @since 1.35
20 * @param CategoryPage $catpage
21 * @return bool|void True or no return value to continue or false to abort
23 public function onCategoryPageView( $catpage );