MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
23 
60 
64  public function getRequest();
65 
69  public function getTitle();
70 
79  public function canUseWikiPage();
80 
90  public function getWikiPage();
91 
98  public function getActionName(): string;
99 
103  public function getOutput();
104 
108  public function getUser();
109 
114  public function getAuthority(): Authority;
115 
120  public function getLanguage();
121 
125  public function getSkin();
126 
133  public function getConfig();
134 
139  public function getTiming();
140 
148  public function exportSession();
149 }
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.