Last modified: 2014-11-18 18:07:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27302, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25302 - Enable UserOptionStats extension on Hungarian Wikipedia
Enable UserOptionStats extension on Hungarian Wikipedia
Status: NEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Low enhancement with 7 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://translatewiki.net/wiki/Special...
:
Depends on:
Blocks: 31235
  Show dependency treegraph
 
Reported: 2010-09-25 09:26 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
14 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2010-09-25 09:26:07 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
Comment 1 p858snake 2010-09-25 11:18:58 UTC
If the extension isn't currently active on any WMF wikis, it will need a security review before this can be done.
Comment 2 Tisza Gergő 2010-09-25 11:30:20 UTC
It isn't. It is fairly short though (~150 lines).
Comment 3 JeLuF 2010-09-25 19:47:07 UTC
* 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.
Comment 4 Tisza Gergő 2010-09-25 20:06:06 UTC
(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.
Comment 5 p858snake 2010-10-28 03:50:17 UTC
(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
Comment 6 p858snake 2010-10-28 08:53:45 UTC
Adding extension author to CC
Comment 7 Amir E. Aharoni 2010-11-01 14:50:19 UTC
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.
Comment 8 DieBuche 2010-11-03 16:34:03 UTC
+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.
Comment 9 JeLuF 2010-11-03 22:49:45 UTC
Please, Bugzilla is not the place to discuss whether this is a useful feature. Use meta.wikimedia.org for such discussions.
Comment 10 Mark A. Hershberger 2010-12-02 18:33:56 UTC
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
Comment 11 Bawolff (Brian Wolff) 2010-12-02 21:49:46 UTC
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.
Comment 12 Tisza Gergő 2012-07-13 17:12:04 UTC
(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.
Comment 13 Niklas Laxström 2012-07-14 02:53:10 UTC
Since the preferences migration this extensions could just scan the user_properties table, which should be fast enough even for 150k users.
Comment 14 Andre Klapper 2013-01-23 12:42:01 UTC
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.
Comment 15 Greg Grossmeier 2013-08-22 22:26:47 UTC
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?
Comment 16 Tisza Gergő 2013-08-24 12:50:01 UTC
(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.
Comment 17 Helder 2013-08-24 14:09:41 UTC
(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
Comment 18 Quiddity 2014-05-17 17:47:22 UTC
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.
Comment 19 Tisza Gergő 2014-05-18 22:42:33 UTC
The solution discussed in bug 58196 would be superior to (although more tricky privacy-wise) this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links