Your message dated Thu, 24 May 2007 19:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#425870: fixed in mediawiki-extensions 0.6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mediawiki-extensions
Version: 0.5

The automatic inclusion of extensions via symlinks in
/etc/mediawiki-extension/extensions-enabled directory does not work
properly.  The call to is_readable() will always fail, as only the
filename is specified and not the whole path.  Changes to
/etc/mediawiki-extensions/extensions.php in the following patch solves
the problem for me.

--- extensions.php.orig 2007-05-24 12:33:51.000000000 -0400
+++ extensions.php      2007-05-24 12:37:06.000000000 -0400
@@ -3,13 +3,15 @@
 // Set new include path:
 ini_set( "include_path" ,ini_get( 'include_path' ) . PATH_SEPARATOR .
'/usr/share/mediawiki-extensions/include' );
 
+$dir = "/etc/mediawiki-extensions/extensions-enabled";
+
 // Including all enabled extensions.
-if ( is_dir( "/etc/mediawiki-extensions/extensions-enabled" )
+if ( is_dir( $dir )
    &&
-     $dh = opendir( "/etc/mediawiki-extensions/extensions-enabled" ) )
{
+     $dh = opendir( $dir ) ) {
         while ( ( $file = readdir( $dh ) ) !== false ) {
-           if ( preg_match( "/.php$/",$file ) && is_readable($file) ) {
-                include_once(
"/etc/mediawiki-extensions/extensions-enabled/" . $file );
+           if ( preg_match( "/.php$/",$file ) && is_readable($dir .
DIRECTORY_SEPARATOR . $file) ) {
+                include_once( $dir . DIRECTORY_SEPARATOR . $file );
             }
         }
         closedir( $dh );



--- End Message ---
--- Begin Message ---
Source: mediawiki-extensions
Source-Version: 0.6

We believe that the bug you reported is fixed in the latest version of
mediawiki-extensions, which is due to be installed in the Debian FTP archive:

mediawiki-extensions_0.6.dsc
  to pool/main/m/mediawiki-extensions/mediawiki-extensions_0.6.dsc
mediawiki-extensions_0.6.tar.gz
  to pool/main/m/mediawiki-extensions/mediawiki-extensions_0.6.tar.gz
mediawiki-extensions_0.6_all.deb
  to pool/main/m/mediawiki-extensions/mediawiki-extensions_0.6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Beauxis <[EMAIL PROTECTED]> (supplier of updated mediawiki-extensions 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 24 May 2007 20:41:01 +0200
Source: mediawiki-extensions
Binary: mediawiki-extensions
Architecture: source all
Version: 0.6
Distribution: unstable
Urgency: high
Maintainer: Mediawiki Maintenance Team <[EMAIL PROTECTED]>
Changed-By: Romain Beauxis <[EMAIL PROTECTED]>
Description: 
 mediawiki-extensions - set of extensions for MediaWiki
Closes: 425870
Changes: 
 mediawiki-extensions (0.6) unstable; urgency=high
 .
   * Corrected inclusion, closes: #425870
Files: 
 9320c62e1129eb58ee6ea9f33a5c4c12 715 web optional mediawiki-extensions_0.6.dsc
 bcedf8284e92fd1313b23ac9ea85582a 60079 web optional 
mediawiki-extensions_0.6.tar.gz
 cedcfdb21eaeeab5ad25abd581f61afd 56876 web optional 
mediawiki-extensions_0.6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVd6hnuQ3Rt5ZmAARAnViAJ9qGLb21alHjuEb+/M5WT0oBPo6NACgnMok
xfhNGGraPyPjy9ufVRAxVCA=
=dZsC
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to