MediaWiki  1.23.8
IContextSource.php
Go to the documentation of this file.
1 <?php
29 interface IContextSource {
35  public function getRequest();
36 
42  public function getTitle();
43 
52  public function canUseWikiPage();
53 
63  public function getWikiPage();
64 
70  public function getOutput();
71 
77  public function getUser();
78 
85  public function getLang();
86 
93  public function getLanguage();
94 
100  public function getSkin();
101 
108  public function getConfig();
109 
115  public function msg();
116 
124  public function exportSession();
125 }
IContextSource\getLang
getLang()
Get the Language object.
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
IContextSource\getSkin
getSkin()
Get the Skin object.
IContextSource\msg
msg()
Get a Message object with context set.
IContextSource\canUseWikiPage
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
IContextSource\getWikiPage
getWikiPage()
Get the WikiPage object.
IContextSource\getUser
getUser()
Get the User object.
IContextSource\getTitle
getTitle()
Get the Title object.
IContextSource
Interface for objects which can provide a context on request.
Definition: IContextSource.php:29
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()
Get the WebRequest object.
IContextSource\getOutput
getOutput()
Get the OutputPage object.
IContextSource\getLanguage
getLanguage()
Get the Language object.