diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2012-07-06 12:03:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-06 12:20:46 -0700 |
commit | eb63bfaadf8d4f43c19c0384c45a9718acd85e66 (patch) | |
tree | aeac779bc13f89f220285a0fb48efea58410d0eb /contrib/mw-to-git/t/install-wiki | |
parent | a3a96a1308a1a11736dd65300295f17cddda4c03 (diff) | |
download | git-eb63bfaadf8d4f43c19c0384c45a9718acd85e66.tar.gz git-eb63bfaadf8d4f43c19c0384c45a9718acd85e66.tar.xz |
git-remote-mediawiki: support for uploading file in test environment
This will be used for testing git-remote-mediawiki's import feature on a
wiki containing media files.
Signed-off-by: Simon CATHEBRAS <Simon.Cathebras@ensimag.imag.fr>
Signed-off-by: Julien KHAYAT <Julien.Khayat@ensimag.imag.fr>
Signed-off-by: Simon Perrat <simon.perrat@ensimag.imag.fr>
Signed-off-by: Charles ROUSSEL <Charles.Roussel@ensimag.imag.fr>
Signed-off-by: Guillaume SASDY <Guillaume.Sasdy@ensimag.imag.fr>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git/t/install-wiki')
-rw-r--r-- | contrib/mw-to-git/t/install-wiki/LocalSettings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/mw-to-git/t/install-wiki/LocalSettings.php b/contrib/mw-to-git/t/install-wiki/LocalSettings.php index aa72518e3..29f125116 100644 --- a/contrib/mw-to-git/t/install-wiki/LocalSettings.php +++ b/contrib/mw-to-git/t/install-wiki/LocalSettings.php @@ -67,9 +67,10 @@ $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: -$wgEnableUploads = false; +$wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand ="@CONVERT@"; +$wgFileExtensions[] = 'txt'; # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = false; |