Page MenuHomePhabricator

Special:Export gives error when using empty lines in textarea
Closed, ResolvedPublic

Description

Author: sirjective

Description:
I used the special:export function on the live wikipedia (en and de).

When I enter empty lines in the text area, like

"Main page

Test"

the xml dump starts and ends at the empty line with this message:

<b>Fatal error</b>: Call to undefined function: wikierror() in
<b>/usr/local/apache/common-local/php-1.5/includes/SpecialExport.php</b> on line
<b>240</b><br />

This even happens when I enter a newline after the last line:

"Main page"

works correct, but

"Main page
"

gives this error.

de:SirJective
aka Christian Semrau


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC
URL: http://en.wikipedia.org/wiki/Special:Export

Details

Reference
bz3129

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:44 PM
bzimport set Reference to bz3129.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 3763 has been marked as a duplicate of this bug. ***