MediaWiki REL1_35
MediaWiki\Hook\ArticleUpdateBeforeRedirectHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ArticleUpdateBeforeRedirectHook:

Public Member Functions

 onArticleUpdateBeforeRedirect ( $article, &$sectionanchor, &$extraq)
 This hook is called after a page is updated (usually on save), before the user is redirected back to the page.
 

Detailed Description

Stable to implement.

Definition at line 11 of file ArticleUpdateBeforeRedirectHook.php.

Member Function Documentation

◆ onArticleUpdateBeforeRedirect()

MediaWiki\Hook\ArticleUpdateBeforeRedirectHook::onArticleUpdateBeforeRedirect (   $article,
$sectionanchor,
$extraq 
)

This hook is called after a page is updated (usually on save), before the user is redirected back to the page.

Since
1.35
Parameters
Article$article
string&$sectionanchorSection anchor link (e.g. "#overview" )
string&$extraqExtra query parameters which can be added via hooked functions
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: