< Manual:Hooks
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": "MyExtensionHooks::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
$article
: Article object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.