Merge "Indicate the actual version of HHVM in use"
[lhc/web/wiklou.git] / includes / actions / EditAction.php
index aaf4526..8876724 100644 (file)
@@ -41,8 +41,7 @@ class EditAction extends FormlessAction {
        }
 
        public function show() {
-               global $wgUseMediaWikiUIEverywhere;
-               if ( $wgUseMediaWikiUIEverywhere ) {
+               if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
                        $out = $this->getOutput();
                        $out->addModuleStyles( array(
                                'mediawiki.ui.input',