https://bugzilla.wikimedia.org/show_bug.cgi?id=19553

           Summary: PrefStatsHooks require a DB that doesnot exist.
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: UsabilityInitiative
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When I had the following in localsettings:

$wgDBname           = "wiki_gerard";
 [...]
require_once("$IP/extensions/UsabilityInitiative/PrefStats/PrefStats.php");
$wgPrefStatsTrackPrefs = array( 'skin' => 'vector', 'usebetatoolbar' => 1 );
$wgGroupPermissions['sysop']['prefstats'] = true;
$wgPrefStatsTimeUnit = 60*60*24;

I had a mysql error:

« PrefStatsHooks::save ». MySQL send error « 1146 : Table
'wiki_gerard.gerardprefstats' doesn't exist (localhost) ».

and with commented the following:

//require_once("$IP/extensions/UsabilityInitiative/PrefStats/PrefStats.php");
//$wgPrefStatsTrackPrefs = array( 'skin' => 'vector', 'usebetatoolbar' => 1 );
//$wgGroupPermissions['sysop']['prefstats'] = true;
//$wgPrefStatsTimeUnit = 60*60*24;

it works well.


So README should be fixed, as it doesn't state anything on the following bug.
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/UsabilityInitiative/README


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to