MediaWiki
master
MediaWikiPerformActionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Article
;
6
use
MediaWiki\Actions\ActionEntryPoint
;
7
use
MediaWiki\Output\OutputPage
;
8
use
MediaWiki\Request\WebRequest
;
9
use
MediaWiki\Title\Title
;
10
use
MediaWiki\User\User
;
11
19
interface
MediaWikiPerformActionHook
{
35
public
function
onMediaWikiPerformAction
( $output, $article, $title, $user,
36
$request, $mediaWiki
37
);
38
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:71
MediaWiki\Actions\ActionEntryPoint
The index.php entry point for web browser navigations, usually routed to an Action or SpecialPage sub...
Definition
ActionEntryPoint.php:41
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:97
MediaWiki\Request\WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form,...
Definition
WebRequest.php:51
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Hook\MediaWikiPerformActionHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MediaWikiPerformActionHook.php:19
MediaWiki\Hook\MediaWikiPerformActionHook\onMediaWikiPerformAction
onMediaWikiPerformAction( $output, $article, $title, $user, $request, $mediaWiki)
Use this hook to override ActionEntryPoint::performAction().
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
MediaWikiPerformActionHook.php
Generated on Thu Dec 12 2024 19:24:02 for MediaWiki by
1.10.0