Last modified: 2014-11-18 18:07:30 UTC
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/w/index.php?title=Wikip%C3%A9dia:Kocsmafal_(m%C5%B1szaki)&oldid=8517985#Be.C3.A1ll.C3.ADt.C3.A1sok_statisztik.C3.A1ja
If the extension isn't currently active on any WMF wikis, it will need a security review before this can be done.
It isn't. It is fairly short though (~150 lines).
* 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.
(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.
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.
(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.
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?
(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.
The solution discussed in bug 58196 would be superior to (although more tricky privacy-wise) this.