Last modified: 2010-05-15 15:48:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11906, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9906 - Special:Import cannot import characters like ä, á, ...
Special:Import cannot import characters like ä, á, ...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.9.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments
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
Details

Description Friedrich Gelbard 2007-05-14 10:57:38 UTC
If you export a German page like http://de.wikipedia.org/wiki/Haus 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.


Navigation
Links