MediaWiki  master
ArticleUpdateBeforeRedirectHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Article;
6 
23  public function onArticleUpdateBeforeRedirect( $article, &$sectionanchor,
24  &$extraq
25  );
26 }
MediaWiki\Hook\ArticleUpdateBeforeRedirectHook
Stable to implement.
Definition: ArticleUpdateBeforeRedirectHook.php:11
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ArticleUpdateBeforeRedirectHook\onArticleUpdateBeforeRedirect
onArticleUpdateBeforeRedirect( $article, &$sectionanchor, &$extraq)
This hook is called after a page is updated (usually on save), before the user is redirected back to ...
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:46