1 Don't modify the installer if you want to alter its behavior, including
2 the contents of generated LocalSettings.php in your package. Instead,
3 you can override classes used by the installer.
5 You can override 3 classes:
6 * LocalSettingsGenerator - generates LocalSettings.php
7 * WebInstaller - web installer UI
8 * CliInstaller - command-line installer
12 $overrides['LocalSettingsGenerator'] = 'MyLocalSettingsGenerator';
14 class MyLocalSettingsGenerator extends LocalSettingsGenerator {
16 // Modify an existing setting
17 $this->values['wgDefaultSkin'] = 'vector';
19 $ls = parent::getText();
20 return $ls . "\n\$wgMiserMode = true;\n";