Page MenuHomePhabricator

Article size in history
Closed, ResolvedPublic

Description

This was requested on meta by User:Fredrik.

It would be useful to have the article size in bytes next to each version in an
article's history. Size changes could show up on recent changes. This would not
only allow one to track article growth conveniently, it'd also be very useful
for catching page blanking and content removal.


Version: unspecified
Severity: enhancement

Details

Reference
bz1723

Revisions and Commits

Related Objects

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:16 PM
bzimport set Reference to bz1723.
bzimport added a subscriber: Unknown Object (MLST).

mikael79 wrote:

*** Bug 1865 has been marked as a duplicate of this bug. ***

avarab wrote:

This would require adding rev_length to the revison table analogous to page_len.

zigger wrote:

*** Bug 4174 has been marked as a duplicate of this bug. ***

robchur wrote:

(In reply to comment #2)

This would require adding rev_length to the revison table analogous to page_len.

Or calculating on the fly. Probably prefer the rev_length field, for performance
reasons.

Now that we have the byte difference in recent changes, how easy is it to add it
to the page history as well? The original request was for article size, rather
than size difference - I'm not sure which would be most useful, or whether there
are any technical details that may affect that decision.

ayg wrote:

It's no more or less easy than it was before. History uses the revision table,
whereas recent changes and watchlist use the recentchanges table. The
before/after sizes are currently stored only in recentchanges, not in revision,
so nothing has changed as far as history is concerned.

robchur wrote:

*** Bug 6277 has been marked as a duplicate of this bug. ***

river wrote:

implemented in r20221.

Diffusion added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:23 AM