MediaWiki REL1_36
IContextSource.php
Go to the documentation of this file.
1<?php
25
58
62 public function getRequest();
63
67 public function getTitle();
68
77 public function canUseWikiPage();
78
88 public function getWikiPage();
89
93 public function getOutput();
94
98 public function getUser();
99
104 public function getAuthority(): Authority;
105
110 public function getLanguage();
111
115 public function getSkin();
116
123 public function getConfig();
124
131 public function getStats();
132
137 public function getTiming();
138
146 public function exportSession();
147}
Interface for objects which can provide a MediaWiki context on request.
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
getConfig()
Get the site configuration.
exportSession()
Export the resolved user IP, HTTP headers, user ID, and session ID.
getWikiPage()
Get the WikiPage object.
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:35
Interface for localizing messages in MediaWiki.