Last modified: 2006-04-23 00:45:29 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 T7689, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5689 - XML-Import of a page version prior to existing history spoils diff page?
XML-Import of a page version prior to existing history spoils diff page?
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.7.x
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ksh.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-22 21:24 UTC by Purodha Blissenbach
Modified: 2006-04-23 00:45 UTC (History)
1 user (show)

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


Attachments
The imported xml data file. (1.68 KB, text/plain)
2006-04-22 21:32 UTC, Purodha Blissenbach
Details

Description Purodha Blissenbach 2006-04-22 21:24:17 UTC
See http://bugzilla.wikimedia.org/show_bug.cgi?id=5438 for background info.

In order to prepare several 1000 xml files for being imported (name space prefixes in page titles, and contributor 
user names need adjustment), I made few tests.

There was already a page http://ksh.wikipedia.org/wiki/User_talk:Sockpuppet with an edit history, all of today 
(2006-Apr-22). I tried to import an older version of that page, which failed because there was an ASCII 0x1A (Ctrl/
Z) at the end of the file. Having it replaced by ASCII 0x0A (Ctrl/J, Line Feed), the import succeeded.

Next, I found the newly imported page listed twice in the article history.
Also, diff-ing against the imported page yielded unexpected results. Effectively, it refuses to show any 
differences, even no traces of the referred page are to be seen, only data from the imported page shows.

Consequentially, we shall not import any page histories for the time being, where a page of that name already 
exists. That is at most three dozen pages of thousands, i.e. no big deal. 

Note that the kshwiki uses Mediawiki Version  1.7alpha (r13760)  see http://ksh.wikipedia.org/wiki/Special:Version 
 , which is not currently selectable in the "Enter Bug" form.

If you need to run tests in the kshwiki, feel free to do so. Using pages from User:Sockpuppet's user- an talkpage-
namespace won't harm anyone, he has been created by http://ksh.wikipedia.org/wiki/User:Purodha for this knd of 
testing.
Comment 1 Purodha Blissenbach 2006-04-22 21:32:47 UTC
Created attachment 1597 [details]
The imported xml data file.

See initial bug description.
True file format is not allowed to be entered manually:
Content-Type: text/xml; charset=utf-8
Comment 2 Brion Vibber 2006-04-22 22:23:17 UTC
It shows twice because you imported the same file twice.

Diff looks fine.

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


Navigation
Links