Extension talk:PrefStats

From mediawiki.org
Latest comment: 12 years ago by Subfader in topic Anyone here?

UsabilityInitiative assumed[edit]

Why assume UsabilityInitiative to be installed in the code when the extension extracts as /PrefStats/ and not /UsabilityInitiative/PrefStats/ ?? Besides LocalSettings.php, patches/PrefStats.sql the path in populatePrefStats.php has to be applied too.

require_once( '../../../maintenance/commandLine.inc' );

--Subfader 17:59, 7 June 2011 (UTC)Reply

Display pref on report[edit]

When you view the report for a stat, the definition should be displayed. E.g.

<h2>skin = monobook</h2>
* 19568 users have enabled this preference since preference statistics were activated
...

--Subfader 18:12, 7 June 2011 (UTC)Reply

Gadget prefs[edit]

Unfortunatly it doesn't seem to track prefs of the Gadget section? I tried all kinds of variations, e.g.

$wgPrefStatsTrackPrefs = array( 
     'mw-input-gadgets-exlinks' => 1, 
     'input-gadgets-exlinks' => 1, 
     'gadgets-exlinks' => 1, 
     'exlinks' => 1
     );

and ran populatePrefStats.php, but everything stays zero. So I assume it's not working. Is it? --Subfader 18:14, 7 June 2011 (UTC)Reply

Percentage of all users[edit]

Would be nice to see the part of all users, e.g. "387 users (4.5% of 8,596 accounts) have enabled this preference..." --Subfader 18:18, 7 June 2011 (UTC)Reply

Note that "accounts" is a more proper term than "users" regarding the total number. --Subfader 21:54, 8 June 2011 (UTC)Reply

Usage?[edit]

I can't seem to get it working. I installed this extension today (MW 1.16alpha), ran the update, added some prefs to check and ran populatePrefStats.php. Now enotifwatchlistpages = 1 reads

  • 159 users have enabled this preference since preference statistics were activated
    • 0 users still have it enabled
    • 159 users have disabled it since

and the graphic is empty.

I checked maintenance/userOptions.php and it reports:

enotifwatchlistpages --usage
Usage for <enotifwatchlistpages> (default: '0'):
 68 user(s): '1'

Same for editondblclick. PrefStats: "15 users have enabled this" vs maintenance/userOptions.php: "22 users(s): '1'".

  1. I guess the maintenance/userOptions.php is correct and the report is buggy?
  2. Isn't the phrase "since preference statistics were activated" wrong?
  3. What's the 159 enabled / 159 disabled about?

--Subfader 18:44, 7 June 2011 (UTC)Reply

Same differences on MW 1.17.0rc1. This extension is not stable imo! A reply would be nice too... --Subfader 21:09, 20 June 2011 (UTC)Reply

Anyone here?[edit]

Nobody cares? Wtf? --Subfader 19:07, 19 September 2011 (UTC)Reply