Last modified: 2012-11-28 14:03:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13180 - Exporting pages fails
Exporting pages fails
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
  Show dependency treegraph
Reported: 2008-02-28 04:36 UTC by Tathagata
Modified: 2012-11-28 14:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

screen shot (118.43 KB, image/jpeg)
2008-08-18 20:48 UTC, Tathagata
screen shot giving the error (120.38 KB, image/jpeg)
2008-08-18 20:48 UTC, Tathagata

Description Tathagata 2008-02-28 04:36:26 UTC
I'm using MediaWiki 1.9.3 with The SAINT WAMP Version: 3.4.0 Platforms:Win32(NT/2000/XP/2003) that uses APACHE v2.0.50 PHP v5.0.0 + PECL Extensions and MySQL v4.0.20d.
When I try to export pages in my setup, it gives the following error in Firefox

XML Parsing Error: not well-formed
Line Number 1, Column 1:


and in Internet Explorer 6.0

The XML page cannot be displayed 
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. 


An invalid character was found in text content. Error processing resource '

Googling took me to


"Tell the administrators to check their configuration; are
they using mod_gzip or similar in Apache? Is there an automated
gzip-output configuration in PHP?" 

gave some hints. Accordingly, I commented out 

elseif ( empty( $wgNoOutputBuffer ) ) {
	## Compress output if the browser supports it
	if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );

from the LocalSettings.php and now everything works fine.

I'm very new to reporting bugs/mailing lists of FOSS projects, if I'm duplicating and already addressed issue, please ignore the n00b's effort, ;)
Comment 1 Siebrand Mazeland 2008-08-16 19:47:29 UTC
Can you deliver an accessible reproducable scenario? MediaWiki has reached a stable 1.13 version and development is ongoing at 1.14alpha. This report is on MediaWiki 1.9.3 and there appear to not be any other open reports of this nature. Suggest to close as WORKSFORME if no reproducable scenario has been delivered in a month.
Comment 2 Tathagata 2008-08-18 01:05:53 UTC
If I understand correctly, "accessible reproducable scenario" would mean a publicly accessible set up to test this - but, my set up is behind company firewalls. So, resolving this issue as WORKSFORME.
Comment 3 Siebrand Mazeland 2008-08-18 08:31:47 UTC
Well, that may be kind of in a hurry :)

You could try and put some (one page or just a few words) in (which runs 1.14alpha) and try to reproduce the error. If you can, we may be able to help you. If you can't, you could try to upgrade to 1.13, as nothing significant changed in export since the release of 1.13. Please reopen the bug if you have been able to reproduce on a current version.
Comment 4 Tathagata 2008-08-18 20:48:12 UTC
Created attachment 5191 [details]
screen shot

Screen shots giving the error.
Comment 5 Tathagata 2008-08-18 20:48:54 UTC
Created attachment 5192 [details]
screen shot giving the error
Comment 6 Tathagata 2008-08-18 20:51:14 UTC
The error can be reproduced in the
Please refer to the above screen shots for the input and erroneous output.

Request: POST, from via (squid/2.6.STABLE21) to (
Error: ERR_ZERO_SIZE_OBJECT, errno [No Error] at Mon, 18 Aug 2008 20:19:08 GMT

Comment 7 Siebrand Mazeland 2008-08-18 21:09:48 UTC
CONFIRMED on 1.14alpha (r39353) on

Could *not* reproduce on (same
version) with the same 2 page names (or changing to "Hoofdpagina" and
"Wikipedia:Wat Wikipedia niet is", the Dutch equivalents).

Could *not* reproduce on my local wiki with the same pagenames (1.14 alpha
(r39616) that uses XAMPP pretty standard config with PHP 5.2.5, Apache/2.2.8

Raised severity and priority.
Comment 8 Tathagata 2008-08-19 00:28:04 UTC
Just to add is powered by MediaWiki 1.14alpha (r39353)
Comment 9 Anu 2012-11-28 12:59:10 UTC
I could not reproduce the error on

Could not reproduce this error on as well.
Comment 10 Andre Klapper 2012-11-28 14:03:38 UTC
Anu: Which browser did you use, and which exact steps did you perform?

Note You need to log in before you can comment on or make changes to this bug.