MediaWiki  master
Page\Hook\ArticleShowPatrolFooterHook Interface Reference

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

Inheritance diagram for Page\Hook\ArticleShowPatrolFooterHook:

Public Member Functions

 onArticleShowPatrolFooter ( $article)
 This hook is called at the beginning of Article::showPatrolFooter. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file ArticleShowPatrolFooterHook.php.

Member Function Documentation

◆ onArticleShowPatrolFooter()

Page\Hook\ArticleShowPatrolFooterHook::onArticleShowPatrolFooter (   $article)

This hook is called at the beginning of Article::showPatrolFooter.

Use this hook to not show the [mark as patrolled] link in certain circumstances.

Since
1.35
Parameters
Article$article
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: