Extension talk:SpecialUserScore/Archive

Restriction?
Why restrict this page? e.g., in every board is an userlist with the number if contributions and much more data?!?! --Nyks 18:28, 25 December 2006 (UTC)


 * If you like it in the common list of special pages, just replace the registration line in extensions/SpecialUserScore.php:

SpecialPage::addPage( new SpecialPage( 'UserScore', 'userrights') );
 * by

SpecialPage::addPage( new SpecialPage( 'UserScore' ));
 * -- 84.113.249.152 20:45, 14 March 2007 (UTC)


 * thanks! --Nyks 01:34, 15 March 2007 (UTC)

Accuracy of Evaluation?
Is there an easy possibility to enhance the quality of the evaluation, e.g. by adding up also the number of bytes for each contribution? This might slow down the script a little bit, however for small wikis this should not be a problem. -- 84.113.249.152 20:39, 14 March 2007 (UTC)

Last Login
Is it possible to update this extension to let it show the last login timestamp for displayed users? Would be great! Greetings Tim.

Change for Special:Contributions link
I made a change to the source: To: This change was made because the link to Special:Contributions would pass  instead of just --Imandir 19:52, 26 September 2007 (UTC)

Not working with MediaWiki 1.11.0 / PostgreSQL
Great tool until i switched to 1.11.0 with postgresql. Anyone experienced with the sql problem?

A database error has occurred Query: SELECT COUNT(wr.rev_id) as value, COUNT(DISTINCT wr.rev_page) as page_value, wu.user_name as name, wu.user_real_name as real_name FROM mwuser wu, revision wr, page wp WHERE wu.user_id = wr.rev_user and wp.page_id = wr.rev_page and wp.page_namespace = 0 GROUP BY wu.user_name ORDER BY value DESC LIMIT 50 OFFSET 0 Function: Error: 1 ERROR: column "wu.user_real_name" must appear in the GROUP BY clause or be used in an aggregate function Backtrace: Thanks in advance Chris
 * 1) 0 /srv/www/htdocs/mediawiki/includes/Database.php(779): DatabasePostgres->reportQueryError('ERROR: column ...', 1, '? ...', '', false)
 * 2) 1 /srv/www/htdocs/mediawiki/includes/QueryPage.php(333): Database->query('? ...')
 * 3) 2 /srv/www/htdocs/mediawiki/includes/SpecialUserScore.php(116): QueryPage->doQuery(0, 50)
 * 4) 3 /srv/www/htdocs/mediawiki/includes/SpecialPage.php(653): wfSpecialUserScore(NULL, Object(SpecialPage))
 * 5) 4 /srv/www/htdocs/mediawiki/includes/SpecialPage.php(459): SpecialPage->execute(NULL)
 * 6) 5 /srv/www/htdocs/mediawiki/includes/Wiki.php(201): SpecialPage::executePath(Object(Title))
 * 7) 6 /srv/www/htdocs/mediawiki/includes/Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 8) 7 /srv/www/htdocs/mediawiki/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 9) 8 /srv/www/htdocs/mediawiki/index.php5(1): require('/srv/www/htdocs...')
 * 10) 9 {main}

I seem to have the same problem xlq

Include Deleted Pages?
If I have 100 edits on page A, and then page A is deleted, I have 0 edits. How can I get this extension to show the edits on deleted pages? Those should count for something! Timneu22 16:39, 3 March 2008 (UTC)

Placing files in
For those who don't like placing extension files anywhere other than in the  hierarchy, you can do the following:


 * 1) In the first file, modify the   function as follows:
 * 2) Add   to the list of global variables.
 * 3) Change the   call to something like "  (assuming you've got the extension installed in  ).
 * 4) Save the second file as   in the appropriate path.

-- Schneelocke 12:44, 5 July 2008 (UTC)

Test successfully on mediawiki 1.14
Place source file SpecialUserScore.php in $IP/includes/specials instead of $IP/includes. Others remain in the same directory as instructed before.

-- ckhsu 11:24, 10 April 2009 (UTC)

I can verify this that it does work on 1.14, and the file $IP/includes/SpecialUserScore.php should be in $IP/includes/specialsSpecialUserScore.php

-- WeedApe 9:54, 5 May 2009 (UTC)

Test on mediawiki 1.15

 * Semi-successful. Will install correctly, but doesn't count every edit nor does it count using any method I can determine (such as one count for each page edited in 24 hours). Highly inaccurate, as it seems to report a bit over 1/3rd of actual edits.--96.19.156.242 01:13, 18 July 2009 (UTC)

MediaWiki 1.18.0
After I upgraded my site from 1.15.0 to 1.18.0, this was one of the extensions that was broken. I fixed the problems and copied the source into a GitHub repository. Nicjansma 22:32, 18 December 2011 (UTC)