>>>>> "C" == Chad <[email protected]> writes:
C> Of course it won't. LocalSettingsGenerator.php only has a class--no
C> executable code. You could write a maintenance script to do that
C> though.
C> You can pass it an array of all the values you want to output in it
C> (it's pretty well documented), and you could read your current
C> LocalSettings to get those values. Not the most straightforward
C> use-case but the installer didn't call for that behavior. YMMV.
Ah, of course! A simple
public function execute() {
$vars = Installer::getExistingLocalSettings();
$ls = new LocalSettingsGenerator( $this );
$ls->writeFile( "/tmp/LocalSettings.php" );
}
Unfortunately it is 1 0 0 0 times more complicated than that and it
would be 1 0 0 0 times easier to just download another copy of MediaWiki
and stumble forth from there.
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l