__construct(IContextSource $context)
getContext()
Get the base IContextSource object.
static sanitizeLangCode( $code)
Accepts a language code and ensures it's sane.
setWikiPage(WikiPage $wikiPage)
Class representing a MediaWiki article and history.
setConfig(Config $config)
setRequest(WebRequest $request)
An IContextSource implementation which will inherit context from another source but allow individual ...
The simplest way of implementing IContextSource is to hold a RequestContext as a member variable and ...
msg( $key,... $params)
Get a message using the current context.
setContext(IContextSource $context)
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
Interface for objects which can provide a MediaWiki context on request.
setOutput(OutputPage $output)