You would need to use the rev_id of the page prior to the IP editing to get
all changes that they made. Otherwise your not comparing to the page text
prior to their first edit
On Tue, Sep 15, 2015 at 11:53 AM, Petr Bena <benapetr(a)gmail.com> wrote:
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&rvpr…
*
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvpr…
*
https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvpr…
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&rvpr…
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 <benapetr(a)gmail.com> wrote:
That "compare" feature look promising.
Thanks
On Tue, Sep 15, 2015 at 5:36 PM, Brad Jorsch (Anomie)
<bjorsch(a)wikimedia.org> wrote:
> On Tue, Sep 15, 2015 at 10:39 AM, Petr Bena <benapetr(a)gmail.com> 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
> Wikitech-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l