Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431473
MediaWikiPerformActionHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
MediaWikiPerformActionHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
Article
;
use
MediaWiki\Actions\ActionEntryPoint
;
use
MediaWiki\Output\OutputPage
;
use
MediaWiki\Request\WebRequest
;
use
MediaWiki\Title\Title
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "MediaWikiPerformAction" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
MediaWikiPerformActionHook
{
/**
* Use this hook to override ActionEntryPoint::performAction(). Use this to do
* something completely different, after the basic globals have been set up, but
* before ordinary actions take place.
*
* @since 1.35
*
* @param OutputPage $output Context output
* @param Article $article Article on which the action will be performed
* @param Title $title Title on which the action will be performed
* @param User $user Context user
* @param WebRequest $request Context request
* @param ActionEntryPoint $mediaWiki (Changed from MediaWiki in 1.42)
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onMediaWikiPerformAction
(
$output
,
$article
,
$title
,
$user
,
$request
,
$mediaWiki
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 20:31 (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1a/91/318fdac723ce06d9212801018611
Default Alt Text
MediaWikiPerformActionHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment