Last modified: 2010-05-15 14:36:04 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 5136 - RawPage: corner cases with relative oldids are wrong
RawPage: corner cases with relative oldids are wrong
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
PC All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-03-01 02:47 UTC by Lupin
Modified: 2010-05-15 14:36 UTC (History)
0 users

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

fix (957 bytes, patch)
2006-03-01 02:48 UTC, Lupin

Description Lupin 2006-03-01 02:47:50 UTC
Bug 4838 introduced relative oldids (prev, next, cur) for raw 
pages. This patch addresses some corner cases that don't work 

Both urls of the form oldid=0&direction=next and 
oldid=(first_revision_id)&direction=prev should give no output, 
since the revision which they attempt to access does not exist. 
They both give the current revision.

direction=prev without specifying an oldid should give the 
penultimate revision (if there is one) instead of giving the 
current revision.

This patch fixes these bugs.
Comment 1 Lupin 2006-03-01 02:48:14 UTC
Created attachment 1424 [details]

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