Page MenuHomePhabricator

Split hitcounter feature into an extension
Closed, DeclinedPublic

Description

We ship MediaWiki with a hitcounter feature. This feature basically makes an update to the database on every page view just to count how many people have viewed the page. And our default out-of-the-box settings have it enabled and set to 1 so that every single page view makes the most inefficient possible update.

Frankly I can't believe we ship MediaWiki with a feature of minimal use that reduces the wiki's performance.

This feature sounds perfect to split out into an extension for those who want it.


Version: unspecified
Severity: enhancement

Details

Reference
bz32789

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:59 PM
bzimport set Reference to bz32789.
bzimport added a subscriber: Unknown Object (MLST).

I participate in many small wikis where performance isn't really such an issue, and the hit counter is a nice feedback. If this is split into an extension, it probably would be a good idea to have it bundled with the installer.

Frankly I can't believe we ship MediaWiki with a feature of minimal use that

reduces the wiki's performance.

That is the case for 99% of wiki installation. For the other kind of installations, just disabled it.

We want to keep this feature in core since that is used by almost any wiki setup.