Last modified: 2010-05-15 15:48:32 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 9906 - Special:Import cannot import characters like ä, á, ...
Special:Import cannot import characters like ä, á, ...
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-05-14 10:57 UTC by Friedrich Gelbard
Modified: 2010-05-15 15:48 UTC (History)
3 users (show)

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

Import this file into a mediawiki and you'll get an import failure (1.80 KB, text/xml)
2007-05-24 10:09 UTC, Friedrich Gelbard

Description Friedrich Gelbard 2007-05-14 10:57:38 UTC
If you export a German page like and reimport
the page into mediawiki the charcters like ä,ö,ü,á,<,... cause an import failure.

Conclusion how can you imoprt an exported page with these chacters?
Comment 1 Brion Vibber 2007-05-14 15:50:08 UTC
Please provide very detailed steps to reproduce the problem, as this has always
worked correctly for us.
Comment 2 Friedrich Gelbard 2007-05-21 12:46:03 UTC
Thanks for the hint, which brought me to an idea.

The Bug is as follows:

We have a Linux SuSE 10.2 server where MediaWiki 1.9.2 is installed. If you use Linux clients for import and export everything works fine.

We made the mistake and used a WindowsXP SP2 client for import and export.
The export of Wiki pages works fine so far but as soon as you save the exported source code of the page under Windows and reimport it into MediaWiki no conversion of the file format between Windows and Linux is made.

At least a warning should be issued saying: "You use a different operating system - file format may not be compatible."

Thanks for your help
Comment 3 Brion Vibber 2007-05-21 17:57:07 UTC
No such restriction exists. Please do the following:

1) provide an exact description of how you performed these saves

2) provide a sample of a damaged file
Comment 4 Friedrich Gelbard 2007-05-24 10:09:00 UTC
Created attachment 3671 [details]
Import this file into a mediawiki and you'll get an import failure

1. Export a Wikipedia page
2. Copy and paste the resulting xml code into an editor under Windows (You'll get a Dos/Windows ANSI textfile)
3. And import this manually created file into a Mediawiki. You'll get an import failure.

If you save the file directly from the web browser the import works. (You'll get a UNIX ANSI as UFT-8 textfile)
Comment 5 Rob Church 2007-06-29 05:17:01 UTC
Well, when working with UTF-8, use an editor capable of dealing with it, or the browser's "Save As XML" (or similar) option. Even IE gets this right...
Comment 6 Huji 2008-04-20 18:21:35 UTC
If used correctly and by means of suitable browsers, this seems to work; I'm chaning it to WORKSFORME.
Comment 7 Siebrand Mazeland 2008-10-21 20:38:58 UTC
Testing bug 9906.

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