MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Hook;
5 use Article;
6 use MediaWiki;
8 use OutputPage;
9 use User;
10 use WebRequest;
35  public function onMediaWikiPerformAction( $output, $article, $title, $user,
36  $request, $mediaWiki
37  );
38 }
Legacy class representing an editable page and handling UI for some page actions.
Definition: Article.php:56
Represents a title within MediaWiki.
Definition: Title.php:82
The MediaWiki class is the helper class for the index.php entry point.
Definition: MediaWiki.php:43
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:60
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:71
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition: WebRequest.php:50
This is a hook handler interface, see docs/
onMediaWikiPerformAction( $output, $article, $title, $user, $request, $mediaWiki)
Use this hook to override MediaWiki::performAction().