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