Page MenuHomePhabricator

Create magic word {{EDITCOUNT}}
Closed, DeclinedPublic

Description

Author: phuntsokkongtsa

Description:
If Foo had 12345 edits, {{EDITCOUNT:Foo}} would equal 12345. If Foo had 1234 edits from January 2, 2010 12:00AM to January 2, 2011 12:00AM, {{EDITCOUNT:Foo:010220100000:010220110000}} would equal 12345.


Version: unspecified
Severity: enhancement

Details

Reference
bz30353

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:50 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz30353.
bzimport added a subscriber: Unknown Object (MLST).

phuntsokkongtsa wrote:

(In reply to comment #1)

There's already 2 extensions with functions similar to this:
http://www.mediawiki.org/wiki/Extension:EditCount

Actually {{EDITCOUNT}} will become a magic word.

bugs wrote:

Those extensions both create magic words that output the edit count.

Closing as WORKSFORME, already implemented in an extension. Doesn't make too much sense to do in core, and the part with timestamp ranges certainly won't go into core for performance reasons.

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

ian2 wrote:

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