User talk:Yurik/Query API/Completed Requests: Difference between revisions

Content deleted Content added
m moved from parent
Legobot (talk | contribs)
m Bot: Fixing lint errors, replacing obsolete HTML tags: <tt> (4x)
 
Line 1:
=== "revisions" action: rvcomments option: bug ===
 
[http://en.wikipedia.org/w/query.php?what=revisions&titles=Train&rvlimit=10&rvcomments with] and [http://en.wikipedia.org/w/query.php?what=revisions&titles=Train&rvlimit=10 without] the <ttcode>rvcomments</ttcode> option, I recieve the same result, except that with it ''on'' the result is somewhat slower to arrive. See also [http://en.wikipedia.org/w/index.php?title=Train&action=history the history page for that article] for comparison. [[User:R3m0t/Sig|r3m0t]] <sup>[[User talk:R3m0t|talk]]</sup> 13:10, 19 May 2006 (UTC)
: This bug has been fixed in the newer version, and should be published shortly. In the meantime, use rvcomments=true. --[[User:Yurik|Yurik]] 03:57, 20 May 2006 (UTC)
 
Line 28:
 
=== History by revid ===
An oft-requested feature for my popups script is for it to provide better edit summaries when reverting. The script only knows about revision ids, so to do this it would be very useful if the <ttcode>revisions</ttcode> query supported using revids where it currently only dates, in the <ttcode>rvstart</ttcode> and <ttcode>rvend</ttcode> parameters. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 12:56, 10 May 2006 (UTC)
: What kind of request do you want to make - Get name,date,comment for title/pageId where revision id = x? If that is what you need, do you want x to be just one value or multiple revIds? So the query can become: give me a list of titles with revisions if all i know is a list of revIDs. This way you can specify a list of revisions, and get back which pages they apply to, and some revision info. --[[User:Yurik|Yurik]] 05:11, 12 May 2006 (UTC)
::For the immediate task at hand, I only need one or two revids. However, it'd be great if I could also specify ranges of the form "current until X", "X onwards", "X with previous 4 edits and next 5 edits". A general input syntax that springs to mind might be something like <nowiki>revids=x|y|a,b|c+1,d|^,e|f,$|g-2,h+4</nowiki> which would retrieve the revision ids x,y, those between the one after c and d (inclusive), all those up to and including e (if that's not too many), all those from f onwards, and those between g and h with 2 more before and 4 more afterwards. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 13:03, 12 May 2006 (UTC)