MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
55 interface IContextSource extends MessageLocalizer {
56 
60  public function getRequest();
61 
65  public function getTitle();
66 
75  public function canUseWikiPage();
76 
86  public function getWikiPage();
87 
91  public function getOutput();
92 
96  public function getUser();
97 
102  public function getLanguage();
103 
107  public function getSkin();
108 
115  public function getConfig();
116 
123  public function getStats();
124 
129  public function getTiming();
130 
138  public function exportSession();
139 }
IContextSource\getSkin
getSkin()
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.
IContextSource\getUser
getUser()
IContextSource\getTitle
getTitle()
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:55
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()