Talk:Mediawiki installation on SourceForge
From JGlade
Has there been an update to this procedure? I noticed that the error has not yet been addressed.
- Dtmilano 14:07, 25 June 2006 (PDT)
- Mediawiki 1.6.7 supportedin mediawiki-sf $Revision:4$
I successfully installed mediawiki 1.6.8 with this script. But I had to :
- Use the SVN version
- Replace (in the patch function) 1.6.7 by 1.6.8
- Replace (in the function set_project_htdocs()) the line :
PHTDOCS=${PHTDOCS:-PHOME/htdocs}
by
PHTDOCS=$PHOME/htdocs
- Setup your database for mediawiki
- Run the mediawiki-sf script
- Point your browser to the config page and fill out all the information.
- Move the LocalSettings.php file from
/tmp/persistent/MY-PROJECT/config/LocalSettings.php
to /home/groups/.../htdocs/mediawiki-1.6.8/LocalSettings.php
- Add write permission to the folder /tmp/persistent/MY-PROJECT/
And in order to get the upload working I had to :
- Make a symlink to the /tmp/persistent/MY-PROJECT/images directory like so :
mkdir /tmp/persistent/MY-PROJECT/images chmod 777 /tmp/persistent/MY-PROJECT/images cd /home/groups/.../htdocs/mediawiki-1.6.8/ rm -rf images ln -s /tmp/persistent/MY-PROJECT/images images
- Modify the LocalSettings.php file in order to have something like :
$wgUploadPath = "/wiki/images";
$wgUploadDirectory = "/tmp/persistent/MY-PROJECT/images";
PS : I know I should update the script mediawiki-sf and send my diff to the author, but I am so lazy...
--Fredo 11:56, 9 July 2006 (PDT)
