Topic on Project:Support desk

Unable to set the site language using command line installer

3
Hanky (talkcontribs)

Hello.

I'm trying to install MediaWiki 1.21.5 using command line installer. So I launch the install.php script:

php ./maintenance/install.php --dbname my_wiki --dbtype postgres --dbuser postgres --dbpass postgres --lang ru --pass 123 --scriptpath /mediawiki --server http://localhost MyWiki admin

The '--lang' param seems to have no effect. After the installation completes the 'LocalSettings.php' file has default language code param $wgLanguageCode = "en". How do I change it during the command line installation?

88.130.67.161 (talkcontribs)

Hi!

I would try reading the source code of maintenance/install.php to understand, if/how the language can be set.

Our article Manual:Install.php really does not contain any information; please add anything to it, which you think might be helpful for others! :-)

MarkAHershberger (talkcontribs)
Reply to "Unable to set the site language using command line installer"