Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8103009
ArticleUpdateBeforeRedirectHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
830 B
Referenced Files
None
Subscribers
None
ArticleUpdateBeforeRedirectHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Page\Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ArticleUpdateBeforeRedirect" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ArticleUpdateBeforeRedirectHook
{
/**
* This hook is called after a page is updated (usually on save), before
* the user is redirected back to the page.
*
* @since 1.35
*
* @param Article $article
* @param string &$sectionanchor Section anchor link (e.g. "#overview" )
* @param string &$extraq Extra query parameters which can be added via hooked functions
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onArticleUpdateBeforeRedirect
(
$article
,
&
$sectionanchor
,
&
$extraq
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 8, 02:07 (1 d, 21 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bc/4b/0626c1e0b8c5b17ac7e6e19b694b
Default Alt Text
ArticleUpdateBeforeRedirectHook.php (830 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment