Author: nickpj
Description:
Currently to install MediaWiki, you download and extract it, point your web browser at config/index.php , manually enter some configuration values (e.g. the wiki name / language / database name / etc) for that wiki into a web form in your browser, then click a button, and then installation stuff happens, and yay, you've got yourself a wiki.
Now, this approach works great if you want to set up _one_ wiki... But suppose you want to create hundreds or thousands of wikis. There are real-world reasons to want this:
- You want to test a huge number of combinations of something.
- You want to give everyone in a large group of people their own separate wiki to play with, experiment with, learn with, and store information that's personally relevant to them. (Why shouldn't everyone on the planet have their own wiki if they want one?)
- You have many branches or outlets of an organisation, who want to keep some information separate.
Currently, we don't see the above applications - but that's because to create 1000 wikis, you'd have to manually enter information 1000 times, which of course no sysadmin in-their-right-mind wants to do, so it just doesn't happen.
So what I am proposing is a way of installing MediaWiki from the command-line, using some sort of configuration file. This configuration file should ideally allow the same information as is entered manually in config/index.php. However it doesn't matter what the format of the configuration file is (as long as a human can read it and edit it and understand it), and it doesn't matter whether the command-line installation script lives in config/ or in maintenance/, or is part of config/index.php or is separate. As long it can be scripted from the command line, it's all good :-)
Version: 1.13.x
Severity: enhancement