Last modified: 2010-05-15 14:36:21 UTC
This patch adds a new parameter to action=raw, direction, which can be prev, next or cur. I'm implementing previews of diffs using client-side javascript diffing, and this will be most useful.
Created attachment 1342 [details] proposed patch
Wouldn't recommend inventing yet another parameter for this. If it's truly necessary, better to remain consistent with existing parameters.
Ah, ok. Which existing parameters would you recommend I follow?
Created attachment 1345 [details] changed direction to diff Since this is intended to grab revisions referred to with the diff= parameter in existing links, I've renamed the direction parameter to diff. This seems a little illogical to me, but it's an existing parameter.
Wait, isn't direction already used for this purpose? For example, http://en.wikipedia.org/w/index.php?title=Wikipedia:Wikipedians&direction=next&oldid=1 I think my original patch makes more sense in view of this.
Committed to HEAD more or less intact. :)
Marking as FIXED since there is no explanation for the reopening.