MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
24 
61 
65  public function getRequest();
66 
70  public function getTitle();
71 
80  public function canUseWikiPage();
81 
91  public function getWikiPage();
92 
99  public function getActionName(): string;
100 
104  public function getOutput();
105 
109  public function getUser();
110 
115  public function getAuthority(): Authority;
116 
121  public function getLanguage();
122 
126  public function getSkin();
127 
134  public function getConfig();
135 
140  public function getTiming();
141 
149  public function exportSession();
150 }
Represents a title within MediaWiki.
Definition: Title.php:82
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.
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.