[Pkg-mediawiki-devel] Bug#384986: mediawiki1.7: conflicting advice

Dan Jacobson jidanni at jidanni.org
Mon Aug 28 09:43:29 UTC 2006

Package: mediawiki1.7
Version: 1.7.1-1
Severity: minor

Conflicting mode advice:
$ zgrep -h chmod /usr/share/mediawiki1.7/debian-scripts/upgrade-mediawiki1.5 /usr/share/doc/mediawiki1.7/*
        chmod 640 $MWVAR/LocalSettings.php
        chmod 640 $MWVAR/LocalSettings.php 
                chmod 640 $MWVAR/AdminSettings.php
                chmod 664 /etc/mediawiki1.7/LocalSettings.php 
                chmod 664 /etc/mediawiki1.7/AdminSettings.php (if exists)
                chmod 664 /etc/mediawiki1.5/LocalSettings.php 
                chmod 664 /etc/mediawiki1.5/AdminSettings.php (if exists)

In README.Debian.gz  you say:
   Upgrading from 1.5 to 1.6 package:
But then talk about 1.7:
	2) Copy the configuration files from /etc/mediawiki1.5 to /var/lib/mediawiki1.7 and make them writable for
	     your webserver user -- usualy www-data.
		cp /etc/mediawiki/LocalSettings.php /var/lib/mediawiki1.7

/usr/share/mediawiki1.7/debian-scripts/upgrade-mediawiki1.5 is not mentioned
in /usr/share/doc/mediawiki1.7/README.Debian.gz !
Nor all of here:
grep -nH -e upgrade-mediawiki1.5 /usr/share/doc/mediawiki1.7/*

Also this
not removed upon purge of mediawiki1.5
same for 1.7

Messages like
MediaWiki 1.7.1
To complete the installation, move config/LocalSettings.php to the parent directory. 
don't make sense with no root dir reference.

The message should say  mv /var/lib/mediawiki1.7/config/LocalSettings.php /var/lib/mediawiki1.7/

More information about the Pkg-mediawiki-devel mailing list