https://bugzilla.wikimedia.org/show_bug.cgi?id=18189
Summary: Request for &rvdiffprop in &prop=revisions to fetch diff
info
Product: MediaWiki
Version: 1.15-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
It would be useful to be able to return the size of a diff and/or cache status
before actually preloading it via the browser. For example:
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&revids=279481248&rvdiffto=279702980
This generates 168k gzipped, but in actuality it is 5.5 megs plaintext.
With &rvdiffinfo it would be nice, if the diff is already cached, to show the
size (and possibly titles, cache key, other diff info) without necessarily
fetching it.
I am ambivalent on whether it would be a good idea to return the info if the
diff is not cached, as that would involve generating it, and might be a bad
practice (that they could then generate huge diffs without having to download
them). Probably if it is not cached, the user should get a cached=false or
notcached="" parameter, so they know they must &rvdiffto to generate it first.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l