User Score as Variable?

Jump to: navigation, search

Could you tell how to make the score of a user a Variable for Extension:Variables? I want to crete a user template the gives out the score of a user or at last the number of edits. Thanks!

--Subfader 20:18, 14 May 2008 (UTC)05:55, 5 January 2012
Hmm... I have write a static function to give you that info - So you want it to throw the score of the currently logged in user? Or you want like a parser function? A parser function would allow you to display the score for a given user (which I assume is what you would want to do on a user page template).
Tim Laqua talk 22:00, 14 May 2008 (UTC)05:55, 5 January 2012

Yep as parser function would be ace for the user on whose page the parser is included (via template), not the logged in user (he can check his on his user page :). Would be good to make 3 parser funcs score, changes, pages. Btw: If this parser works I won't need Extension:EditCount which has Inconsistances in the total edit# compared to yours (which I simply assume is the correct one).

--Subfader 09:00, 15 May 2008 (UTC)05:55, 5 January 2012

k, I'll try to find some time over the weekend to throw those together.

Tim Laqua talk 10:40, 15 May 2008 (UTC)05:56, 5 January 2012

Biggup! ;)

--Subfader05:56, 5 January 2012

Implemented in r34903, v1.10 - all #cscore metrics are based on *all* revisions. I also added in $wgContribScoreDisableCache so you can have the metrics display realtime. Just set it to true

Tim Laqua talk 02:03, 16 May 2008 (UTC)05:56, 5 January 2012

Awesome! Smooth like a baby. Thanks for the fast coding :)

--Subfader 07:19, 16 May 2008 (UTC)05:57, 5 January 2012
 
 
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox