Last modified: 2014-10-25 17:19:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 18189 - Request for &rvdiffprop in &prop=revisions to fetch diff info (size)
Request for &rvdiffprop in &prop=revisions to fetch diff info (size)
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2009-03-26 23:55 UTC by Splarka
Modified: 2014-10-25 17:19 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Splarka 2009-03-26 23:55:03 UTC
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:

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.
Comment 1 Andre Klapper 2014-10-25 17:19:56 UTC
I wonder if there is any relation to (fixed) for user contribs and if that fixed one would make it easier to implement this request here?

Note You need to log in before you can comment on or make changes to this bug.