MediaWiki 1.41.2
IContextSource.php
Go to the documentation of this file.
1<?php
28
65
69 public function getRequest();
70
74 public function getTitle();
75
84 public function canUseWikiPage();
85
95 public function getWikiPage();
96
103 public function getActionName(): string;
104
108 public function getOutput();
109
113 public function getUser();
114
119 public function getAuthority(): Authority;
120
125 public function getLanguage();
126
130 public function getSkin();
131
138 public function getConfig();
139
144 public function getTiming();
145
153 public function exportSession();
154}
This is one of the Core classes and should be read at least once by any new developers.
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Represents a title within MediaWiki.
Definition Title.php:76
internal since 1.36
Definition User.php:98
Interface for objects which can provide a MediaWiki context on request.
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
getConfig()
Get the site configuration.
exportSession()
Export the resolved user IP, HTTP headers, user ID, and session ID.
getWikiPage()
Get the WikiPage object.
getActionName()
Get the action name for the current web request.
Interface for configuration instances.
Definition Config.php:32
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:37
Interface for localizing messages in MediaWiki.