[Pkg-mediawiki-devel] Bug#425023: Can't update a second wiki
Romain Beauxis
toots at rastageeks.org
Fri May 18 15:05:51 UTC 2007
Le Friday 18 May 2007 16:49:23 Olleg Samoylov, vous avez écrit :
> Package: mediawiki1.10
> Version: 1.10.0-1
> Severity: normal
>
> I have 2 wiki's used with PostgreSQL. Due to PostreSQL I didn't use
> debconf script, I had use maintenance/update.php instead. First wiki is in
> original path /var/lib/mediawiki1.10 and all are fine here. Second is in
> /srv/sail, looked like the first: has own config files and symplinks to
> shared scripts. But when I try run maintenance/update.php from here, this
> script still update first wiki.
Yes, I think this is a common issue with mediawiki and php..
The path is the following:
/srv/sail#php maintenance/update.php
From maintenance:
include(__FILE__/../../foo)
Or something like this..
But maintenance is located in /usr/share/mediawiki1.10 so this resolves to:
/usr/share/mediawiki1.10/foo
Which leads to the first wiki..
I have a testing package of mine that I use for setting up multiple wiki that
does not have this issue, you may want to give a try.. ?
Other solution is to, temporaly or not, reproduce a full mediawiki
distribution with the second's configuration files and launch update.php from
it..
Romain
--
I've got to get away from here
This is not a place for me to stay
I've got to take my family
We'll find a quiet place
More information about the Pkg-mediawiki-devel
mailing list