SpecialUpload.php can't find XmlTypeCheck

Bug #441724 reported by Christian Ashby
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mediawiki (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mediawiki

When enabling SVG support according to the instructions here: http://www.mediawiki.org/wiki/Manual:Image_Administration#SVG

The error:

Fatal error: Class 'XmlTypeCheck' not found in /usr/share/mediawiki/includes/SpecialUpload.php on line 1211

Occurs when uploading SVG images. XmlTypeCheck doesn't exist in the includes/ directory, or anywhere in the mediawiki package.

Revision history for this message
Christian Ashby (ubuntu-cashby) wrote :

This is in Hardy with mediawiki version: 1:1.11.2-2ubuntu0.3

Revision history for this message
Daniel Bartholomew (dbart) wrote :

I can confirm this as well in Hardy. Very annoying.

Revision history for this message
Steve Roscio (steve-roscio) wrote :

FWIW,

I thought maybe this problem was due to missing a package like php5-xmlrpc or php5-xsl, but I didn't want to risk testing on our production 1.11.2 MediaWiki system.

So I hacked up a quick VM with Ubuntu, and did apt-get install mediawiki. I configured the wiki and tested the SVG upload. However, this time it worked! The version of mediawiki I got was 1.13.3 . Those aforementioned php packages are not installed.

Hope this helps.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Thanks for confirming, that this has been fixed in recent versions of MediaWiki. Marking as such.

Changed in mediawiki (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.