Help:用户等级:修订间差异
来自存档计划,Project Archive by Lakejason0
添加的内容 删除的内容
Lakejason0(留言 | 贡献) (创建页面,内容为“本站开启了Wikipoint的计算,以及相对应的等级制度。 == 等级划分 == <syntaxhighlight lang="php"> $wgUserLevels = [ 'Recruit' => 0, 'Appr…”) |
Lakejason0(留言 | 贡献) |
||
第46行: | 第46行: | ||
$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. |
$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. |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
== 参见 == |
|||
* [[Special:用户排行榜]] |
|||
{{Policies}} |
{{Policies}} |
2021年7月10日 (六) 12:49的版本
本站开启了Wikipoint的计算,以及相对应的等级制度。
等级划分
$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获取方式
$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.
参见
Wiki条例 | |
---|---|
Wiki帮助 | |
关于Wiki |