MediaWiki master
MediaWiki\Hook\ArticleUpdateBeforeRedirectHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ArticleUpdateBeforeRedirect" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 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: