MediaWiki REL1_39
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
97 public function getActionName(): string;
98
102 public function getOutput();
103
107 public function getUser();
108
113 public function getAuthority(): Authority;
114
119 public function getLanguage();
120
124 public function getSkin();
125
132 public function getConfig();
133
140 public function getStats();
141
146 public function getTiming();
147
155 public function exportSession();
156}
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.
getActionName()
Get the action name for the current web request.
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.