Page MenuHomePhabricator

Enable UserOptionStats extension on Hungarian Wikipedia
Closed, DeclinedPublic

Description

Translatewiki uses an extension named UserOptionStats which shows usage statistics about user preference settings (see link), including the usage of gadgets. This would be very useful for gadget developers. I asked Nike who wrote the extension, and he said that it should work on Wikimedia projects too. Please install the extension on the Hungarian Wikipedia. You can find the community discussion here:

http://hu.wikipedia.org/wiki/Wikipédia:Kocsmafal_(műszaki)/Archív49#Be.C3.A1ll.C3.ADt.C3.A1sok_statisztik.C3.A1ja


URL: http://translatewiki.net/wiki/Special:UserOptionStats
See Also:
T21288: Gadget usage statistics
T60196: Tool Labs: Provide anonymized view of the user_properties table

Details

Reference
bz25302

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:17 PM
bzimport set Reference to bz25302.
bzimport added a subscriber: Unknown Object (MLST).
Tgr created this task.Sep 25 2010, 9:26 AM

If the extension isn't currently active on any WMF wikis, it will need a security review before this can be done.

Tgr added a comment.Sep 25 2010, 11:30 AM

It isn't. It is fairly short though (~150 lines).

jeluf wrote:

  • It uses PHPlot, which we're not yet using. This needs to be reviewed, too.
  • It loads the user option blob for each user. Currently, there are 150'000 users on huwiki.
Tgr added a comment.Sep 25 2010, 8:06 PM

(In reply to comment #3)

  • It uses PHPlot, which we're not yet using. This needs to be reviewed, too.

The plots are just eye candy, if Nike is willing to make them optional, simple textual percentage values would be fine.

(In reply to comment #3)

  • It uses PHPlot, which we're not yet using. This needs to be reviewed, too.

We create/have facilities for creating graphs for other things, We could probably ask the other to have it hook into the same system or someone create a patch for it ourselves

Adding extension author to CC

It will be useful to enable this on all WMF wikis. After many years of the same defaults we may finally see that some defaults should be changed.

+1 @ Amirs proposal
Every project should get this by default, there seem to be no privacy concerns involved.
If there are scaling issues, just enable it for registered users or even only for admins.

jeluf wrote:

Please, Bugzilla is not the place to discuss whether this is a useful feature. Use meta.wikimedia.org for such discussions.

PHPlot is not needed. We already use SVG and pie charts could be done there Examples: http://www.codestore.net/store.nsf/unid/EPSD-5DTT4L

Also, isn't phplot used in the reader feedback extension, which we use? At the very least its included with it - http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ReaderFeedback/phplot-5.0.5/ I presume it wouldn't be included if it wasn't used.

With that said, it sounds like the primary use case is the raw numbers, not the pretty pictures, so people might consider it acceptable just to disable the graphing parts.

Tgr added a comment.Jul 13 2012, 5:12 PM

(In reply to comment #3)

  • It loads the user option blob for each user. Currently, there are 150'000

users on huwiki.

Would limiting it to active users help? That would be an improvement anyway, we want the stats for the current user base, and settings/gadgets which have been there for a longer time are overrepresented unless we filter by activity.

Since the preferences migration this extensions could just scan the user_properties table, which should be fast enough even for 150k users.

See https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment for information on what is needed to get an extension reviewed before potentially deploying it on a wikisite.

greg added a comment.Aug 22 2013, 10:26 PM

Hello, this is a quasi-automated-but-not-really message:

I am reviewing all tracking bugs for extensions to review and deploy to WMF servers. See the list here:
https://bugzilla.wikimedia.org/showdependencytree.cgi?id=31235&hide_resolved=1

The [[mw:Review queue]] page lists the steps necessary to complete the review. I have copied them below and done some initial filling out based on what I can easily gleen from this bug and any linked to sources that are obvious. If I miss something/state something false, please do correct me.

Also, if you haven't yet done so, please review the information on and linked to from:
https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment

TODO/Check list

Extension page on mediawiki.org: yes
Bugzilla component: no
Extension in Gerrit: yes
Design Review: no
Archeticecture/Performance Review: no
Security Review: no
Screencast (if applicable): no
Community support: maybe still?

Tgr added a comment.Aug 24 2013, 12:50 PM

(In reply to comment #15)

Community support: maybe still?

There is still community support. We are discussing removing some of the gadgets from huwiki (most are not well maintained and frequently cause errors for their users, sometimes even disabling basic functionality like article editing); knowing usage counts would be useful in knowing which gadgets are worth keeping.

(In reply to comment #16)

editing); knowing usage counts would be useful in knowing which gadgets are
worth keeping.

Yeah, I also miss such a feature (bug 19288) for Portuguese Wikipedia:
https://pt.wikipedia.org/w/index.php?title=Wikipédia_Discussão:Gadget#Usos_dos_ativados_por_padr.C3.A3o

The extension is at [[mw:Extension:UserOptionStats]] (it doesn't seem to be linked above).

This is a neat extension. If the basic implementation is easy (without graph), that would be good to get going on all wikis. Everyone loves stats! (ymmv)

Eventualism for the eyecandy.
Eventualism for the "active users" enhancement.

Tgr added a comment.May 18 2014, 10:42 PM

The solution discussed in bug 58196 would be superior to (although more tricky privacy-wise) this.

Tacsipacsi updated the task description. (Show Details)Feb 3 2015, 9:20 PM
Tacsipacsi set Security to None.
Qgil removed a subscriber: Qgil.Feb 3 2015, 9:27 PM
He7d3r updated the task description. (Show Details)Feb 3 2015, 11:49 PM

d8ef9550f10a61106f38f37131d58196963b8027 makes the special page faster and has been used in translatewiki.net for months, btw.

Restricted Application added a subscriber: jeblad. · View Herald TranscriptAug 25 2017, 8:44 PM
Tgr closed this task as Declined.May 20 2019, 12:10 PM

Probably makes more sense to do a one-off analysis with richer data (e.g. split into user classes by edit count).