MediaWiki
REL1_35
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
16
interface
MediaWikiPerformActionHook
{
32
public
function
onMediaWikiPerformAction
( $output, $article,
$title
, $user,
33
$request, $mediaWiki
34
);
35
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
Title
Represents a title within MediaWiki.
Definition
Title.php:42
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:42
MediaWiki\Hook\MediaWikiPerformActionHook
Stable to implement.
Definition
MediaWikiPerformActionHook.php:16
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 Sat Apr 6 2024 00:07:13 for MediaWiki by
1.9.8