MediaWiki master
MediaWiki\Page\Hook\ArticleShowPatrolFooterHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file ArticleShowPatrolFooterHook.php.

Member Function Documentation

◆ onArticleShowPatrolFooter()

MediaWiki\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: