Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4209778
ArticleViewRedirectHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
ArticleViewRedirectHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
MediaWiki\Page\Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ArticleViewRedirect" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ArticleViewRedirectHook
{
/**
* This hook is called before setting "Redirected from ..." subtitle when a
* redirect was followed.
*
* @since 1.35
*
* @param Article $article Target article
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onArticleViewRedirect
(
$article
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 21 2026, 05:38 (12 w, 10 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7e/c0/3cb3ad8c7495f0df91141187a058
Default Alt Text
ArticleViewRedirectHook.php (617 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment