[Pkg-mediawiki-devel] Bug in mediawiki package - fix proposed

Massimo Lo Iacono massimol at inventati.org
Wed Sep 5 16:11:30 UTC 2012

Hi. I am using mediawiki package into an pure Debian stable 6.0.5

  mediawiki    1:1.15.5-2squeeze4

It seems there is a bug in line 59 of file:


The bug is that is not defined the method:


Fix proposed:

use the line:

  if( ! ( $wgUser->isAllowed( 'import' ) ||
$wgUser->isAllowed( 'importupload' ) ) ) { 

in place of line:

  if( !$wgUser->isAllowedAny( 'import', 'importupload' ) ) {

Best regard
Massimo Lo Iacono

More information about the Pkg-mediawiki-devel mailing list