installer: Remove unused references to wgResourceLoaderMaxQueryLength
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 28 Feb 2015 17:25:33 +0000 (18:25 +0100)
committerKrinkle <krinklemail@gmail.com>
Sat, 28 Feb 2015 17:31:19 +0000 (17:31 +0000)
* Added in 40e18e45343.
* Removed in 648bed9f839 (r87494).

The latter left the Installer::values array still populating this
variable eventhough it was no longer used in the generators output.

The example in overrides.php is also outdated as modifying this
variable there would have no effect.

Change-Id: I0c86e94a004c034702c5fcd83257c0f4c3d15a57

includes/installer/Installer.php
includes/installer/LocalSettingsGenerator.php
mw-config/overrides.php

index 1036dcd..91195e9 100644 (file)
@@ -186,7 +186,6 @@ abstract class Installer {
                'wgUseInstantCommons',
                'wgUpgradeKey',
                'wgDefaultSkin',
-               'wgResourceLoaderMaxQueryLength',
        );
 
        /**
index c0ba300..8724e0d 100644 (file)
@@ -63,7 +63,7 @@ class LocalSettingsGenerator {
                                'wgRightsText', 'wgMainCacheType', 'wgEnableUploads',
                                'wgMainCacheType', '_MemCachedServers', 'wgDBserver', 'wgDBuser',
                                'wgDBpassword', 'wgUseInstantCommons', 'wgUpgradeKey', 'wgDefaultSkin',
-                               'wgMetaNamespace', 'wgResourceLoaderMaxQueryLength', 'wgLogo',
+                               'wgMetaNamespace', 'wgLogo',
                        ),
                        $db->getGlobalNames()
                );
index 5758152..40b3dde 100644 (file)
@@ -38,7 +38,7 @@ Then add the following to the bottom of this file:
 class MyLocalSettingsGenerator extends LocalSettingsGenerator {
        function getText() {
                // Modify an existing setting
-               $this->values['wgResourceLoaderMaxQueryLength'] = 512;
+               $this->values['wgDefaultSkin'] = 'vector';
                // add a new setting
                $ls = parent::getText();
                return $ls . "\n\$wgUseTex = true;\n";