Last modified: 2010-05-15 14:36:04 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 T7136, the corresponding Phabricator task for complete and up-to-date bug report information.
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.