MediaWiki REL1_37
IContextSource.php
Go to the documentation of this file.
1<?php
26
59
63 public function getRequest();
64
68 public function getTitle();
69
78 public function canUseWikiPage();
79
89 public function getWikiPage();
90
94 public function getOutput();
95
99 public function getUser();
100
105 public function getAuthority(): Authority;
106
111 public function getLanguage();
112
116 public function getSkin();
117
124 public function getConfig();
125
132 public function getStats();
133
138 public function getTiming();
139
147 public function exportSession();
148}
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:37
Interface for localizing messages in MediaWiki.