https://bugzilla.wikimedia.org/show_bug.cgi?id=13209





--- Comment #17 from Gurch <[email protected]>  2008-12-15 
19:34:25 UTC ---
(In reply to comment #15)
> * Do we really need to request multiple diffs at once, or do we just want an
> API point for requesting *a* diff in a consistent fashion?
> 
> * Do we care that the result is going to be a big wad of HTML which will 
> change
> depending on the version of MediaWiki, the diff backend installed, etc?
> 
> * What's the actual intention of fetching the diff anyway?

It seems that the only person who actually wants this is me, so I guess don't
bother too much about it if it's a lot of work. Things work OK how they are, at
least nothing has fallen over yet.

But in my case, the answers to these questions:

* Ideally multiple diffs, but single ones would still mean simpler client-side
code and cleaner error handling.

* Not really, since it's going to be presented to the user anyway.

* The intended use is for recent changes patrolling on the English Wikipedia.
Users need to review diffs fairly constantly at short intervals over a
reasonable period of time, and this accounts for the bulk of web requests
associated with rc patrolling. I am assuming -- quite possibly incorrectly --
that it would be easier on the servers if the client was asking for, say, 2
diffs every 6 seconds rather than 1 diff every 3 seconds. If that assumption is
complete bollocks then please disregard anything about multiple diffs. :) The
trade-off here is minimizing the delay between the user wanting the diff and
having it, while also not being excessive with web requests. I keep said delay
close to zero by pre-loading diffs a few in advance of the one they're actually
looking at, hence it would be easy to fetch them two or three at a time.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

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

Reply via email to