Jump to content

Help:User levels

From Agape Union
Revision as of 02:45, 6 March 2025 by Khanhlegood31 (talk | contribs)

Khánh tạo hướng dẫn cách tăng cấp độ của User levels: https://www.mediawiki.org/wiki/Extension:SocialProfile/Technical_documentation

To enable user levels, add something like below into your wiki's settings:

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,

];