[Pkg-mediawiki-devel] Bug#386444: Pkg-mediawiki-devel post from schoepf-debian@gmx.de requires approval

Thomas Schoepf schoepf-debian at gmx.de
Fri Sep 15 18:05:05 UTC 2006

Hello Romain,

> > I'd suggest to update the documenation earlier, because it e.g. ignores
> the
> > fact that /var/lib/mediawiki1.5/LocalSettings.php and
> > /var/lib/mediawiki1.5/AdminSettings.php are symlinks into
> /etc/mediawiki1.5
> > right after installing the package.
> Could you explain this, I didn't understand..

Look at the README.Debian upgrade documentation and you'll see. Points 4 and 9 to be precise. Copying those php files onto those symlinks will give you files in the location where the symlink points to (i.e. /etc/mediawiki1.5)
Now, point 9 tells me to move those symlinks into /etc/mediawiki1.5

> > > all the files, in fine, are in /var/lib/mediawiki not un share..
> >
> > I guess you mean /var/lib/mediawiki1.5, right?
> It is the same thing for all packages, see below..

No. They are two different directories.

europa:~# l -d /var/lib/mediawiki1.5 /var/lib/mediawiki
drwxr-xr-x 4 www-data www-data 4096 Sep  7 18:55 /var/lib/mediawiki
drwxr-xr-x 4 root     root     4096 Sep 15 19:19 /var/lib/mediawiki1.5

> > Of course, that raises the question why a (plain fresh installed)
> > mediawiki1.5 is looking for /usr/share/mediawiki1.5/LocalSettings.php in
> > the first place.
> Simply because we seperate the files and put those that are not meant to
> be 
> modified in /usr/share and those that are meant to be changed to /var/lib

Then the upgrade documentation in README.Debian is wrong and needs to be fixed accordingly. Do you agree?

> > Btw: /var/lib/mediawiki1.5/LocalSettings.php is not modified compared to
> > /etc/mediawiki/LocalSettings.php
> What do you mean?


europa:/var/lib/mediawiki1.5# md5sum /etc/mediawiki/LocalSettings.php /etc/mediawiki1.5/LocalSettings.php
27dc76c437d12c472fcea9167d260099  /etc/mediawiki/LocalSettings.php
27dc76c437d12c472fcea9167d260099  /etc/mediawiki1.5/LocalSettings.php

Which step is supposed to modify LocalSettings.php?

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

More information about the Pkg-mediawiki-devel mailing list