MediaWiki  master
ArticlePurgeHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use WikiPage;
6 
14 interface ArticlePurgeHook {
23  public function onArticlePurge( $wikiPage );
24 }
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
Page::Hook\ArticlePurgeHook\onArticlePurge
onArticlePurge( $wikiPage)
This hook is called before executing "&action=purge".
Page::Hook\ArticlePurgeHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticlePurgeHook.php:14
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3