Help:用户等级:修订间差异
来自存档计划,Project Archive by Lakejason0
添加的内容 删除的内容
Lakejason0(留言 | 贡献) |
|||
(未显示同一用户的21个中间版本) | |||
第1行: | 第1行: | ||
本站开启了Wikipoint的计算,以及相对应的等级制度。 |
本站通过[[mw:Extension:SocialProfile|SocialProfile]]开启了Wikipoint的计算,以及相对应的等级制度。另通过[[mw:Extension:Editcount|Editcount{{tr|扩展|擴充功能}}]]与一定的计算公式,存在另一套积分计算方法和方案。 |
||
== |
== SocialProfile == |
||
=== 等级划分 === |
|||
{| class="wikitable" |
|||
|- |
|||
! 英文名称 !! 中文名称 !! 所需分数 |
|||
|- |
|||
| Beginner || 初心者 || 0 |
|||
|- |
|||
| Apprentice || 学习者 || 1200 |
|||
|- |
|||
| Explorer || 探索者 || 1750 |
|||
|- |
|||
| Traveler || 旅行者 || 2500 |
|||
|- |
|||
| Dreamer || 梦想者 || 5000 |
|||
|- |
|||
| Dream Catcher || 梦想追逐者 || 10000 |
|||
|- |
|||
| Dream Shaper || 梦想塑形者 || 20000 |
|||
|- |
|||
| Dream Writer || 梦想编写者 || 35000 |
|||
|- |
|||
| Dream Weaver || 梦想编织者 || 50000 |
|||
|- |
|||
| Sandman || 造梦者 || 75000 |
|||
|- |
|||
| Interworld Traveler || 异世旅者 || 100000 |
|||
|- |
|||
| World Shaper || 世界塑形者 || 150000 |
|||
|- |
|||
| World Writer || 世界编写者 || 250000 |
|||
|- |
|||
| World Weaver || 世界编织者 || 350000 |
|||
|- |
|||
| World Vanquisher || 世界征服者 || 500000 |
|||
|- |
|||
| Fragment Writer || 残章编写者 || 650000 |
|||
|- |
|||
| Fragment Manager || 残章管理者 || 800000 |
|||
|- |
|||
| "Santopia" || “桑托皮亚” || 1000000 |
|||
|} |
|||
{{CollapseH|源代码}} |
|||
<syntaxhighlight lang="php"> |
<syntaxhighlight lang="php"> |
||
$wgUserLevels = [ |
$wgUserLevels = [ |
||
' |
'Beginner' => 0, |
||
'Apprentice' => 1200, |
'Apprentice' => 1200, |
||
' |
'Explorer' => 1750, |
||
' |
'Traveler' => 2500, |
||
' |
'Dreamer' => 5000, |
||
' |
'Dream Catcher' => 10000, |
||
' |
'Dream Shaper' => 20000, |
||
' |
'Dream Writer' => 35000, |
||
' |
'Dream Weaver' => 50000, |
||
' |
'Sandman' => 75000, |
||
' |
'Interworld Traveler' => 100000, |
||
' |
'World Shaper' => 150000, |
||
' |
'World Writer' => 250000, |
||
' |
'World Weaver' => 350000, |
||
' |
'World Vanquisher' => 500000, |
||
' |
'Fragment Writer' => 650000, |
||
' |
'Fragment Manager' => 800000, |
||
' |
'"Santopia"' => 1000000, |
||
]; |
]; |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{CollapseE}} |
|||
== Wikipoint获取方式 == |
=== Wikipoint获取方式 === |
||
<syntaxhighlight lang="php"> |
<syntaxhighlight lang="php"> |
||
$wgUserStatsPointValues['edit'] = 50; // Points awarded on a mainspace edit |
$wgUserStatsPointValues['edit'] = 50; // Points awarded on a mainspace edit |
||
第46行: | 第89行: | ||
$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> |
||
== 基于Editcount的盐式积分 == |
|||
=== 计算公式 === |
|||
<div class="mw-code">编辑积分 = 主条目编辑数 * 3 + 模板编辑数 * 2.5 + {{tr|模块|模組}}编辑数 * 2.5 + 帮助编辑数 * 2 + 分类编辑数 * 1 + {{tr|项目|專案}}页面编辑数 * 1 + 文件编辑数 / 4 + 讨论编辑数 / 8</div> |
|||
=== 注意事项 === |
|||
* '''用户(User)'''和'''用户讨论(User talk)'''均不计入此公式中。 |
|||
* 部分需要管理员权限编辑的命名空间不计入此公式中,因为现阶段计算这些没有意义。 |
|||
* 编辑积分仅作参考,其数值并不代表编辑者的贡献多寡与水平高低。 |
|||
=== 用户编辑积分等级模板 === |
|||
由[[mcbbswiki:用户:Sheep-realms|{{fc|green||绵羊}}]]设计,[[mcbbswiki:用户:Salt_lovely|盐酱]]编写的用户编辑积分等级显示模板,根据编辑积分计算等级,可以较为直观地展示编辑积分的大小。 |
|||
源代码:[[Widget:SaltUserScoreLevel]]、[[Widget:SaltUserScore]]、[[:Template:User edit score level]]、[[:Template:User edit score]] |
|||
在页面的合适位置使用此模板即可(快速使用:<code>-{}-<nowiki>{{User edit score level|</nowiki>用户名}}</code>),详细使用方式见模板文档;因为使用起来比较简单,因此可以放入你的签名中。 |
|||
== 参见 == |
== 参见 == |
||
* [[Special:用户排行榜]] |
* [[Special:用户排行榜]] - SocialProfile提供的用户积分排行。 |
||
{{Policies}} |
{{Policies}} |
2022年7月31日 (日) 14:15的最新版本
本站通过SocialProfile开启了Wikipoint的计算,以及相对应的等级制度。另通过Editcount扩展与一定的计算公式,存在另一套积分计算方法和方案。
SocialProfile
等级划分
英文名称 | 中文名称 | 所需分数 |
---|---|---|
Beginner | 初心者 | 0 |
Apprentice | 学习者 | 1200 |
Explorer | 探索者 | 1750 |
Traveler | 旅行者 | 2500 |
Dreamer | 梦想者 | 5000 |
Dream Catcher | 梦想追逐者 | 10000 |
Dream Shaper | 梦想塑形者 | 20000 |
Dream Writer | 梦想编写者 | 35000 |
Dream Weaver | 梦想编织者 | 50000 |
Sandman | 造梦者 | 75000 |
Interworld Traveler | 异世旅者 | 100000 |
World Shaper | 世界塑形者 | 150000 |
World Writer | 世界编写者 | 250000 |
World Weaver | 世界编织者 | 350000 |
World Vanquisher | 世界征服者 | 500000 |
Fragment Writer | 残章编写者 | 650000 |
Fragment Manager | 残章管理者 | 800000 |
"Santopia" | “桑托皮亚” | 1000000 |
源代码
$wgUserLevels = [
'Beginner' => 0,
'Apprentice' => 1200,
'Explorer' => 1750,
'Traveler' => 2500,
'Dreamer' => 5000,
'Dream Catcher' => 10000,
'Dream Shaper' => 20000,
'Dream Writer' => 35000,
'Dream Weaver' => 50000,
'Sandman' => 75000,
'Interworld Traveler' => 100000,
'World Shaper' => 150000,
'World Writer' => 250000,
'World Weaver' => 350000,
'World Vanquisher' => 500000,
'Fragment Writer' => 650000,
'Fragment Manager' => 800000,
'"Santopia"' => 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.
基于Editcount的盐式积分
计算公式
编辑积分 = 主条目编辑数 * 3 + 模板编辑数 * 2.5 + 模块编辑数 * 2.5 + 帮助编辑数 * 2 + 分类编辑数 * 1 + 项目页面编辑数 * 1 + 文件编辑数 / 4 + 讨论编辑数 / 8
注意事项
- 用户(User)和用户讨论(User talk)均不计入此公式中。
- 部分需要管理员权限编辑的命名空间不计入此公式中,因为现阶段计算这些没有意义。
- 编辑积分仅作参考,其数值并不代表编辑者的贡献多寡与水平高低。
用户编辑积分等级模板
由绵羊设计,盐酱编写的用户编辑积分等级显示模板,根据编辑积分计算等级,可以较为直观地展示编辑积分的大小。
源代码:Widget:SaltUserScoreLevel、Widget:SaltUserScore、Template:User edit score level、Template:User edit score
在页面的合适位置使用此模板即可(快速使用:{{User edit score level|用户名}}
),详细使用方式见模板文档;因为使用起来比较简单,因此可以放入你的签名中。
参见
- Special:用户排行榜 - SocialProfile提供的用户积分排行。
Wiki条例 | |
---|---|
Wiki帮助 | |
关于Wiki |