Last modified: 2006-08-15 15:54:49 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 6946 - Export regression: history included on GET requests with action=submit
Export regression: history included on GET requests with action=submit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6938 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-08 09:02 UTC by Scott Hatton
Modified: 2006-08-15 15:54 UTC (History)
1 user (show)

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


Attachments

Description Scott Hatton 2006-08-08 09:02:01 UTC
The XML Special:Pages export is bundling all revisions instead of just the latest, 
whatever the user asks for in the export. This started on Sunday 6 August.

Here is an example in a Wiki which uses Wikipedia pages "On the fly": 
http://www.wikinfo.org/wiki.php?title=Doune. The page "Doune" didn't exist in Wikinfo 
(at time of writing this anyway). Wikinfo try to import from the XML and this happens.

Here is an example of my own website in a test page: 

http://www.globalguide.org/test.html?id=100213

(see bottom of my page)
Comment 1 Scott Hatton 2006-08-08 09:02:47 UTC
*** Bug 6938 has been marked as a duplicate of this bug. ***
Comment 2 Jimmy Collins 2006-08-08 17:14:15 UTC
See r15959 (Added experimental history paging API, subject to change).
Comment 3 Scott Hatton 2006-08-09 07:43:09 UTC
This change has caused problems to everybody using GetWiki 1.0 - a lot of people.

Can this be put back ASAP? My website, for instance, which extracts Wikipedia data in 
this way is no longer functional.

I see other sites, such as WikInof similarly affected.
Comment 4 Scott Hatton 2006-08-09 07:50:49 UTC
The Special:Export page itself has a checkbox: "Include only the current revision, 
not the full history". This should be the default (no history) with a manual 
override - i.e, software like GetWiki should not see all revisions - the current 
revision only should be the default.
Comment 5 Rob Church 2006-08-09 15:48:03 UTC
Fix GetWiki.
Comment 6 Scott Hatton 2006-08-11 07:49:36 UTC
Who is going to fix GetWiki? What an unhelpful comment.

It is this change to MediaWiki which has caused the problem in the first place.
Comment 7 Rob Church 2006-08-11 14:28:02 UTC
Wait a moment...because a feature was added to MediaWiki, users are outright
complaining AGAIN? We're well within our rights to add stuff to the software.
External sites using our interfaces to take content will need to keep up with
the developments.

However, this sounds like a duplicate of a more clarified bug report posted
after this one. Finding that and marking this as a duplicate is an exercise left
up to the reader.
Comment 8 Scott Hatton 2006-08-11 14:36:42 UTC
I am not "users", I am a person who relies (relied) on GetWiki to import my data. I 
thought we were all in this together - I didn't realise it was an "us" and "them".

This avenue is now closed to me and I have to spend the next few days inventing a new 
solution.

P.S. What was the problem that this upgrade fixed?

Comment 9 Charlie Huggard 2006-08-11 14:47:55 UTC
As of r16018 (the version I have for my wiki anyways) I am still able get only
the most current revision of an article by pointing my browser at <Wiki
root>/Special:Export?pages=<Article Name>&curonly=1&action=submit
Comment 10 Daniel Kinzler 2006-08-11 14:52:33 UTC
This is related to (but kind of the opposite of) Bug 9671
Comment 11 Daniel Kinzler 2006-08-11 14:54:09 UTC
arg! sorry, typo: bug 6971
Comment 12 Cesar Eduardo Barros 2006-08-11 14:58:39 UTC
This is not a bug on MediaWiki; it's a bug on GetWiki. Its parsing code is
hopelessly broken, and can only work by chance. See my comment on
[[Wikipedia:Village pump (technical)#XML export format change]] for details.
Marking INVALID.
Comment 13 Cesar Eduardo Barros 2006-08-11 15:07:06 UTC
Workaround (untested): change $wgExportwiki on GetWiki to
http://en.wikipedia.org/w/index.php?title=Special:Export&curonly=1&action=submit&pages=
instead of http://en.wikipedia.org/wiki/Special:Export/; this should make
MediaWiki return exactly what it was returning before. HOWEVER, this is only a
temporary workaround; if GetWiki is not fixed, it'll probably break again the
next time anything is changed on MediaWiki's Special:Export. It's meant only as
a stopgap fix. You really should dedicate some resources to fixing that code,
before it breaks again.
Comment 14 Scott Hatton 2006-08-11 15:25:07 UTC
Cesar,

Thanks very much for your help. Your workaround indeed solves the problem 
(temporarily). Hopefully GetWiki will issue a version 2.0. Alternatively I will try 
to become a PHP programmer in the interim!
Comment 15 Wim Roffel 2006-08-14 10:01:25 UTC
In the past Wikipedia recommended webmasters not to download the complete html page but to use Special:Export in order not to burden their servers too much. Now all 
the information about those directives is gone and we are left with a broken Special:Export. 

This is not a GetWiki bug. This MediaWiki/Wikipedia creating a mess.
Comment 16 Rob Church 2006-08-14 10:04:40 UTC
No, this is MediaWiki evolving to support more complicated access to the export
interface. If there is a problem keeping up with the interfaces we provide, then
consider other options; paid OAI updates or downloading our XML dumps are two such.
Comment 17 Brion Vibber 2006-08-14 18:31:56 UTC
The format has not changed, it is exactly the same as it was. If 
something is not working the same today as it did two weeks ago, 
please be very specific.

Also please check the *CURRENT STATUS RIGHT NOW* as bugs 
introduced earlier in the month were fixed.
Comment 18 Cesar Eduardo Barros 2006-08-15 15:28:45 UTC
Yes, this is a GetWiki bug. Go read what I wrote on the Village pump. The
GetWiki code to read the exported XML is completely wrong, so that even the
smallest change can make it break. MediaWiki didn't change anything on the
format; it's still using the same 0.3 schema, and it's not MediaWiki's fault if
GetWiki cannot follow the schema.
Comment 19 Brion Vibber 2006-08-15 15:54:49 UTC
Fixed in r16069.

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


Navigation
Links