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

Reply via email to