Page MenuHomePhabricator

Enable Special:PrefStats for Gadgets
Closed, InvalidPublic

Description

Before I put a proposal onto the village pump, I wanted to make sure it's even possible:

Can Special:PrefStats be activated for all Gadgets (the JS gadgets that can be enabled in Special:Pref). This would make it easier for JS devs to track the number of times a gadget is used, as well as estimate possible impacts of code changes.


Version: unspecified
Severity: enhancement
URL: http://www.mediawiki.org/wiki/Extension:UsabilityInitiative#PrefStats
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=19288

Details

Reference
bz24578

Event Timeline

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

Forgot to mention: I'm talking about commons

test5555 wrote:

Interesting question, I was wondering about that too. In the meantime, I found:

http://www.mediawiki.org/wiki/Extension:UsabilityInitiative#PrefStats

http://commons.wikimedia.org/wiki/MediaWiki:Prefstats-noprefs

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UsabilityInitiative/PrefStats/SpecialPrefStats.php?view=markup

http://commons.wikimedia.org/wiki/MediaWiki:Prefstats-noprefs currently reads "No preferences are currently being tracked. Configure $wgPrefStatsTrackPrefs to track preferences."

If you know the values for gadget preferences, maybe these could be used directly in MediaWiki:Prefstats-noprefs.

test5555 wrote:

Lol, it needs to go into $wgPrefStatsTrackPrefs, Prefstats-noprefs is just the error message.

Yes, it can be done, but the page with the statistics is a bit expensive to generate right now, so it wouldn't be publicly viewable.

test5555 wrote:

At Commons, there is now [[Commons:Commons:Database_reports/User_preferences]]

As PrefStats saw its last real commit two years ago this sounds like a WONTFIX.

This would require a deployment of the PrefStats extension. And for any configuration change, we require a local consensus - see https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes for more information. So if this is still wanted on a specific wiki, please reopen this ticket with a link to the consensus.

CLosing as INVALID for the time being.