Extension talk:PrefStats
UsabilityInitiative assumed
editWhy 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' );
Display pref on report
editWhen 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 ...
Gadget prefs
editUnfortunatly 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)
Percentage of all users
editWould 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)
- Note that "accounts" is a more proper term than "users" regarding the total number. --Subfader 21:54, 8 June 2011 (UTC)
Usage?
editI 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'".
- I guess the maintenance/userOptions.php is correct and the report is buggy?
- Isn't the phrase "since preference statistics were activated" wrong?
- What's the 159 enabled / 159 disabled about?
--Subfader 18:44, 7 June 2011 (UTC)
- 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)
Anyone here?
editNobody cares? Wtf? --Subfader 19:07, 19 September 2011 (UTC)