X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fcontext%2FRequestContext.php;h=3dfa4564006a5802a9ba04679d308e18bb2e5ef5;hb=ee553f8e32a8f1bd8c0232dbbf1127e3592d29b2;hp=ebedb7e51839b0d412be8776769714833df99029;hpb=9e8cdbbb66dbb607daec04b63327b61448fe43e9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index ebedb7e518..3dfa456400 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -99,7 +99,7 @@ class RequestContext implements IContextSource, MutableContext { if ( $this->config === null ) { // @todo In the future, we could move this to WebStart.php so // the Config object is ready for when initialization happens - $this->config = ConfigFactory::getDefaultInstance()->makeConfig( 'main' ); + $this->config = MediaWikiServices::getInstance()->getMainConfig(); } return $this->config; @@ -428,7 +428,7 @@ class RequestContext implements IContextSource, MutableContext { } // Normalize the key in case the user is passing gibberish - // or has old preferences (bug 69566). + // or has old preferences (T71566). $normalized = Skin::normalizeKey( $userSkin ); // Skin::normalizeKey will also validate it, so