Begin exposing SiteConfiguration via site contexts
authorChad Horohoe <chadh@wikimedia.org>
Fri, 25 Oct 2013 21:17:24 +0000 (14:17 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Fri, 25 Oct 2013 21:19:04 +0000 (14:19 -0700)
commit101a2a160b05c1433bcc7ffb54a06420fb1cd14c
treeb1472dbb392d7401e5eb27b4a56969b9653dad5a
parent1aeec323e8571d66072b50d95225ba8314300bf4
Begin exposing SiteConfiguration via site contexts

First step of providing configuration without relying on globals.

You can use this in your code now as follows:
 $myvar = $context->getConfig()->get( 'wgMyVar' )

Change-Id: I23194d1ba747a9e0d925154ae065cbd612b4f591
includes/context/ContextSource.php
includes/context/DerivativeContext.php
includes/context/IContextSource.php
includes/context/RequestContext.php