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 }
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
exportSession()
Export the resolved user IP, HTTP headers, user ID, and session ID.
getConfig()
Get the site configuration.
getWikiPage()
Get the WikiPage object.