Just to make clear what my problem is, here is example. There is a
user 75.69.113.86 who made 3 consecutive edits to page "Battle
Tendency". These edits can be displayed using these 3 API's:

* 
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids%7Ctags%7Cuser%7Ctimestamp%7Ccomment&rvlimit=1&rvstartid=681167574&rvdiffto=prev&titles=Battle%20Tendency&rawcontinue=1&format=xml
* 
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids%7Ctags%7Cuser%7Ctimestamp%7Ccomment&rvlimit=1&rvstartid=681167835&rvdiffto=prev&titles=Battle%20Tendency&rawcontinue=1&format=xml
* 
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids%7Ctags%7Cuser%7Ctimestamp%7Ccomment&rvlimit=1&rvstartid=681167909&rvdiffto=prev&titles=Battle%20Tendency&rawcontinue=1&format=xml

The combined diff of all three edits I am trying to get has link
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=ids%7Ctags%7Cuser%7Ctimestamp%7Ccomment&rvlimit=1&rvstartid=681167574&rvdiffto=681167909&titles=Battle%20Tendency&rawcontinue=1&format=xml

but as you can see, it's not actually containing all these changes.
Why is that? I would like to see a diff of these 3 edits from
681167574 which is oldest to 681167909 which in time of me writing
this was last revision.

On Tue, Sep 15, 2015 at 5:39 PM, Petr Bena <[email protected]> wrote:
> That "compare" feature look promising. Thanks
>
> On Tue, Sep 15, 2015 at 5:36 PM, Brad Jorsch (Anomie)
> <[email protected]> wrote:
>> On Tue, Sep 15, 2015 at 10:39 AM, Petr Bena <[email protected]> wrote:
>>
>>> I suppose in that case I would set RevID to 520 and DiffTo to 20. That
>>> however doesn't seem to work. It shows the diff, but other way, it
>>> shows diff from 520 to 20 (and I think it even excludes that revision)
>>> not from 20 to 520, including both 20 and 520.
>>>
>>
>> Yes, because you're diffing *from* 520 *to* 20.
>>
>> If you have two specific revisions you're trying to compare, you might just
>> want to look at action=compare
>> <https://en.wikipedia.org/w/api.php?modules=compare>.
>>
>>
>>> Even more weird thing that happens to me, is that when I swap RevID and
>>> DiffTo, the results seem to be identical.
>>>
>>
>> That seems doubtful.
>>
>>
>> --
>> Brad Jorsch (Anomie)
>> Senior Software Engineer
>> Wikimedia Foundation
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to