From 5ef6ad178521d146ccef84c8f4d2993d5c77c7e6 Mon Sep 17 00:00:00 2001 From: Guillaume Sasdy Date: Fri, 6 Jul 2012 12:03:04 +0200 Subject: git-remote-mediawiki: scripts to install, delete and clear a MediaWiki install_wiki.sh allows the user to install a MediaWiki instance in a single shell command. Like "git instaweb", it configures and launches lighttpd without requiring root priviledges. To simplify database management, it uses SQLite, which doesn't require a running daemon, and allows reseting the database by simply replacing a single file. This allows install_wiki to also defines a function wiki_reset which clear all content of the previously created wiki, which will be very useful to run several indepenant tests on the same wiki. Note those functionnalities are made to be used from the user command line in the directory git/contrib/mw-to-git/t/ Signed-off-by: Simon CATHEBRAS Signed-off-by: Julien KHAYAT Signed-off-by: Simon Perrat Signed-off-by: Charles ROUSSEL Signed-off-by: Guillaume SASDY Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- contrib/mw-to-git/t/install-wiki/LocalSettings.php | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 contrib/mw-to-git/t/install-wiki/LocalSettings.php (limited to 'contrib/mw-to-git/t/install-wiki/LocalSettings.php') diff --git a/contrib/mw-to-git/t/install-wiki/LocalSettings.php b/contrib/mw-to-git/t/install-wiki/LocalSettings.php new file mode 100644 index 0000000000..aa72518e30 --- /dev/null +++ b/contrib/mw-to-git/t/install-wiki/LocalSettings.php @@ -0,0 +1,128 @@ +