[Pkg-mediawiki-devel] Mediawiki 1.15.1

B. Alexander storm16 at gmail.com
Fri Aug 13 00:25:52 UTC 2010

I'm hoping you all can help me, I've tried the mediawiki channel on
freenode, I've tried a couple of IRC channels and other places to get it
fixed. I am running a Mediawiki install on sid, and ever since the upgrade
to 1.15.5-1 on or about 30 Jul 2010, I have had a problem where I cannot
upload image files. Any attempt to do so results in

Internal error
>From mywiki
Jump to: navigation<http://sisko/mediawiki/index.php/Special:Upload#column-one>,
search <http://sisko/mediawiki/index.php/Special:Upload#searchInput>

The upload directory (public) is missing and could not be created by the
I have checked /etc/mediawiki/LocalSettings.php, and the upload entries seem

$wgUploadPath       = "$wgScriptPath/images";
$wgUploadDirectory  = "$IP/images";

The directory exists:

# ls -ld /var/lib/mediawiki/images/
drwxrwxr-x 23 www-data www-data 4096 Dec  1  2009 /var/lib/mediawiki/images/

and /etc/apache2/conf.d/mediawiki.conf has:

<Directory /var/lib/mediawiki/images>
        Options -FollowSymLinks
        AllowOverride None

I've also waded through the forest of symlinks, (e.g. 3 symlinks on the
filesystem to /etc/mediawiki/LocalSettings.php, and all of the links between
/var/lib/mediawiki, /usr/share/mediawiki and /etc/mediawiki) and everything
seems to be in order, but is there something that I can check to find where
this error is coming from?

The apache logs are kind of vague:

[Thu Aug 12 20:21:23 2010] [error] [client] PHP Warning:
mkdir(): Permission denied in
/usr/share/mediawiki/includes/GlobalFunctions.php on line 2012, referer:

Especially since like 2012 is:

        return mkdir( $dir, $mode, true );  // PHP5 <3

Any ideas? The Mediawiki guys weren't able to help. I didn't want to open a
bug, because I'm not sure whether it is a leftover configuration issue after
my painful upgrade from 1.7 or a true bug.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20100813/785ea1e9/attachment.html>

More information about the Pkg-mediawiki-devel mailing list