Hi,
thanks for your answer.
My configuration is the following
require_once "$IP/extensions/SocialProfile/SocialProfile.php";
$wgUserBoard = true;
$wgUserProfileDisplay['board'] = true;
$wgUserProfileDisplay['friends'] = true;
$wgUserProfileDisplay['foes'] = false;
$wgUserProfileDisplay['stats'] = true;
require_once( "$IP/extensions/SocialProfile/UserStats/EditCount.php" ); // Necessary edit counter
// The actual user level definitions -- key is simple: 'Level name' => points needed
$wgUserLevels = [
'Recruit' => 0,
'Apprentice' => 1200,
'Private' => 1750,
'Corporal' => 2500,
'Sergeant' => 5000,
'Gunnery Sergeant' => 10000,
'Lieutenant' => 20000,
'Captain' => 35000,
'Major' => 50000,
'Lieutenant Commander' => 75000,
'Commander' => 100000,
'Colonel' => 150000,
'Brigadier' => 250000,
'Brigadier General' => 350000,
'Major General' => 500000,
'Lieutenant General' => 650000,
'General' => 800000,
'General of the Army' => 1000000,
];
$wgUserStatsPointValues['edit'] = 50; // Points awarded on a page edit
$wgUserStatsPointValues['createpage'] = 200; // Points awarded on a page creation
$wgUserStatsPointValues['createtalk'] = 30; // Points awarded on a page edit
$wgNamespacesForEditPoints = [ 0, 250, 251, 252, 253 ]; // Array of namespaces that can earn you points. Use numerical keys. Default is 0 -- only main namespace edits can earn a user points.
As you see, it's a pretty standard configuration. I've just added other namespaces to earn points. I've also added two new actions that don't work actually, I guess because they are not allowed by the extension, even if I thought I could add other mediawiki default actions.