Tuesday 16 June 2009

Environment update

The approach to building a new environment has been updated. We used to have a script for each environment. This was not that great because as we learned, we found that we had to revisit all the scripts.

The new way of doing things is by using files with configuration information. There is one file called Environment, that contains the name of an environment and information about the MediaWiki release. There is one file called Env_Extensions with information about the extensions.

Having such a file based approach is nice because we now have several nice bits of functionality included; after an installation we run the maintenance/update.php, we run the LocalisationExtension update.php when it is installed and we register that we have an environment installed with its name.

The upshot is that now that we know what environment a MediaWiki installation is supposed to be, we can update it as well. What we have been working on is just updating the software.. the next bit is to install missing or extensions added to the file.
Thanks,
GerardM