Manual:Hooks/ArticleShowPatrolFooter
Appearance
| ArticleShowPatrolFooter | |
|---|---|
| Available from version 1.32.0 (Gerrit change 441634) can be used to hide the [mark as patrolled] link in certain circumstances | |
| Define function: | public static function onArticleShowPatrolFooter( Article $article ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"ArticleShowPatrolFooter": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleShowPatrolFooter"
}
}
|
| Called from: | File(s): page/Article.php Function(s): showPatrolFooter |
| Interface: | ArticleShowPatrolFooterHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ArticleShowPatrolFooter extensions.
Details
[edit]$article: Article object