幫助:使用者等級

From Project Archive by Lakejason0

本站開啟了Wikipoint的計算,以及相對應的等級制度。

等級劃分[edit source]

$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,
];

Wikipoint取得方式[edit source]

$wgUserStatsPointValues['edit'] = 50; // Points awarded on a mainspace edit
$wgUserStatsPointValues['vote'] = 0; // Points awarded for voting for an article
$wgUserStatsPointValues['comment'] = 20; // Points awarded for leaving a comment
$wgUserStatsPointValues['comment_plus'] = 20; // Points awarded if your comment gets a thumbs up
$wgUserStatsPointValues['comment_ignored'] = 0; // Points awarded if another user ignores your comments
$wgUserStatsPointValues['opinions_created'] = 20; // Points awarded for writing a blog article
$wgUserStatsPointValues['opinions_pub'] = 20; // Points awarded for having that article hit the "Blogs" page
$wgUserStatsPointValues['referral_complete'] = 20; // Points awarded for recruiting a new user
$wgUserStatsPointValues['friend'] = 20; // Points awarded for adding a friend
$wgUserStatsPointValues['foe'] = 0; // Points awarded for adding a foe
$wgUserStatsPointValues['gift_rec'] = 50; // Points awarded for receiving a gift
$wgUserStatsPointValues['gift_sent'] = 50; // Points awarded for giving a gift
$wgUserStatsPointValues['points_winner_weekly'] = 100; // Points awarded for having the most points for a week
$wgUserStatsPointValues['points_winner_monthly'] = 1000; // Points awarded for having the most points for a month
$wgUserStatsPointValues['user_image'] = 1000; // Points awarded for adding your first avatar
$wgUserStatsPointValues['poll_vote'] = 20; // Points awarded for taking a poll
$wgUserStatsPointValues['quiz_points'] = 20; // Points awarded for answering a quiz question
$wgUserStatsPointValues['quiz_created'] = 20; // Points awarded for creating a quiz question
$wgNamespacesForEditPoints = [ 0 ]; // Array of namespaces that can earn you points. Use numerical keys. Default is 0 -- only main namespace edits can earn a user points.

參見[edit source]