MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
25 
57 interface IContextSource extends MessageLocalizer {
58 
62  public function getRequest();
63 
67  public function getTitle();
68 
77  public function canUseWikiPage();
78 
88  public function getWikiPage();
89 
93  public function getOutput();
94 
98  public function getUser();
99 
104  public function getAuthority(): Authority;
105 
110  public function getLanguage();
111 
115  public function getSkin();
116 
123  public function getConfig();
124 
131  public function getStats();
132 
137  public function getTiming();
138 
146  public function exportSession();
147 }
IContextSource\getSkin
getSkin()
IContextSource\getAuthority
getAuthority()
MessageLocalizer
Interface for localizing messages in MediaWiki.
Definition: MessageLocalizer.php:29
IContextSource\canUseWikiPage
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
IContextSource\getTiming
getTiming()
IContextSource\getWikiPage
getWikiPage()
Get the WikiPage object.
MediaWiki\Permissions\Authority
Definition: Authority.php:30
IContextSource\getUser
getUser()
IContextSource\getTitle
getTitle()
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:57
IContextSource\getConfig
getConfig()
Get the site configuration.
IContextSource\exportSession
exportSession()
Export the resolved user IP, HTTP headers, user ID, and session ID.
IContextSource\getRequest
getRequest()
IContextSource\getOutput
getOutput()
IContextSource\getLanguage
getLanguage()
IContextSource\getStats
getStats()