Environment
From MediaWiki extension testing
An environment consists of a complete software environment. There are several approaches to this. The first is the recognition that every instance of a MediaWiki installation has one, the other is that for certain application a particular environment works really well.
Setting up a testing environment
What Extensions are installed
When you have a production environment the following script will report the revision numbers of all extensions installed. This script is to be run from the "extensions" directory.
for item in *; do test -d $item && svn info $item| echo $item `grep Revision`; done
This report relies on the extension being installed by SVN. We assume that the extension will report itself what SVN it is.
Building a script for a testing environment
To mimic an environment, a script must be written that builds the environment. Example scripts can be found in the wikiation/util/environment directory.