MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
26 
59 
63  public function getRequest();
64 
68  public function getTitle();
69 
78  public function canUseWikiPage();
79 
89  public function getWikiPage();
90 
94  public function getOutput();
95 
99  public function getUser();
100 
105  public function getAuthority(): Authority;
106 
111  public function getLanguage();
112 
116  public function getSkin();
117 
124  public function getConfig();
125 
132  public function getStats();
133 
138  public function getTiming();
139 
147  public function exportSession();
148 }
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
This interface represents the authority associated the current execution context, such as a web reque...
Definition: Authority.php:37
MediaWiki\Session\CsrfTokenSetProvider
Definition: CsrfTokenSetProvider.php:28
IContextSource\getUser
getUser()
IContextSource\getTitle
getTitle()
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:58
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()