MediaWiki
REL1_39
MediaWikiPerformActionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Article
;
6
use
MediaWiki
;
7
use
OutputPage
;
8
use
Title
;
9
use
User
;
10
use
WebRequest
;
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:48
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:54
Title
Represents a title within MediaWiki.
Definition
Title.php:49
User
internal since 1.36
Definition
User.php:70
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:44
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 MediaWiki::performAction().
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
MediaWiki
A helper class for throttling authentication attempts.
$title
$title
Definition
testCompression.php:38
includes
Hook
MediaWikiPerformActionHook.php
Generated on Thu Nov 21 2024 05:22:57 for MediaWiki by
1.10.0