The simplest way of implementing IContextSource is to hold a RequestContext as a member variable and ...
getContext()
Get the base IContextSource object.
setContext(IContextSource $context)
An IContextSource implementation which will inherit context from another source but allow individual ...
setRequest(WebRequest $request)
setWikiPage(WikiPage $wikiPage)
msg( $key,... $params)
Get a message using the current context.
__construct(IContextSource $context)
setConfig(Config $config)
canUseWikiPage()
Check whether a WikiPage object can be get with getWikiPage().
setOutput(OutputPage $output)
This is one of the Core classes and should be read at least once by any new developers.
Class representing a MediaWiki article and history.
Interface for objects which can provide a MediaWiki context on request.