Topic on Project:Support desk

Scripted initial population of MediaWiki database

5
Dstahlberg (talkcontribs)

As part of an Ansible-scripted setup of a MediaWiki site, I need to configure MediaWiki. The LoadSettings.php can be prepared in advance and copied to the site, but is there a scripted way to initially populate the database without manually accessing the Installation page?

Thanks for any pointers and tips!

Bawolff (talkcontribs)

Use install.php script in the maintenance directory which can be run from commandline.

Alternatively you could just take a database dump of a fresh install and import that.

Dstahlberg (talkcontribs)

Thank you for the reply! I will use Install.php. When I previously looked at the documentation it did not say that it populated the database so I skipped it, but now I've tried and it does. I will try to add this to the documentation.

Bawolff (talkcontribs)

P.s. you might also be interested in the Meza project

Dstahlberg (talkcontribs)

Will Do !

Reply to "Scripted initial population of MediaWiki database"