MediaWiki  master
IContextSource.php
Go to the documentation of this file.
1 <?php
53 interface IContextSource extends MessageLocalizer {
54 
58  public function getRequest();
59 
63  public function getTitle();
64 
73  public function canUseWikiPage();
74 
84  public function getWikiPage();
85 
89  public function getOutput();
90 
94  public function getUser();
95 
100  public function getLanguage();
101 
105  public function getSkin();
106 
113  public function getConfig();
114 
121  public function getStats();
122 
127  public function getTiming();
128 
136  public function exportSession();
137 }
IContextSource\getSkin
getSkin()
MessageLocalizer
Interface for localizing messages in MediaWiki.
Definition: MessageLocalizer.php:27
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:53
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()