Make mediawiki.special.pageLanguage work again
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderEditToolbarModule.php
index f811231..2a6af71 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Resource loader module for the edit toolbar.
+ * ResourceLoader module for the edit toolbar.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ class ResourceLoaderEditToolbarModule extends ResourceLoaderFileModule {
                $vars = parent::getLessVars( $context );
                $language = Language::factory( $context->getLanguage() );
                foreach ( $language->getImageFiles() as $key => $value ) {
-                       $vars[ $key ] = CSSMin::serializeStringValue( $value );
+                       $vars[$key] = CSSMin::serializeStringValue( $value );
                }
                return $vars;
        }