WikiLove/zh


 * 欣赏能使别人的卓越成为我们自己的财富.  — 伏尔泰

维基友爱是一項旨在讓維基人表達對其他用戶的友愛的簡單而有趣的功能. 可以通過單擊“愛心形狀”圖標在任何用戶討論頁添加维基友爱. 它最初是由Ryan Kaldari開發的用戶腳本，現在可以作為MediaWiki擴展，開發人員可以添加到他們的wiki中.

基本原理
用户喜欢的自我价值感. 根据2011年的调查显示,维基百科的编辑器(参见营收数据),在17个变量,“被经验丰富的编辑看不起”是最有可能导致人们说,他们将编辑较少(69%协议),而“让别人恭维你编辑/文章”是最有可能导致人们说,他们将更频繁地编辑协议(78%同意). 参见:在维基媒体的博客上“积极的反馈为编辑工作,谈谈维基百科编辑器”

另一方面,编辑维基百科往往成为困难随着时间的推移,和新用户将收到更正/批评的可能性也增加了. 这反映通过各种努力,代码和分析新用户的经验,比如最近的新手教学策略研究冲刺范围内进行的研究我们的夏天.



主要功能

 * 2011年6月16日: 维基有爱激活原型在 prototype.wikimedia.org上
 * 2011年6月24日: 维基有爱默认为注册用户在prototype.wikimedia.org上;博客公告要求测试人员
 * June 30, 2011:2011年6月30日:维基有爱部署到英文维基百科. 参见维基有爱行动.
 * 2011年10月28日:维基有爱 部署到Macedonian 维基百科("ВикиЉубов"名义).

如何禁用
禁用维基有爱,到编辑选项卡在你的喜好,并取消选中对应的复选框旁边的“启用显示对其他用户维基有爱选项卡”在用户页面. 然后单击保存.



如何自定义
维基有爱接口可以适合每一个编辑器的需求. 如果你想使用WikiLove离开欢迎消息,生日蛋糕,或者刺猬,很容易覆盖默认的配置与你自己的设置.

The WikiLove configuration is one large JSON object, so to make a change or addition, all you have to do is modify the values that are assigned to the keys. To see what values are currently assigned, first check the MediaWiki:WikiLove.js page on your local wiki. This will have any local overrides. Next, take a look at the default configuration. This will show you the basic tree of data that makes up the settings for WikiLove. Once you have decided what values you want to change, go to your skin.js file on the wiki you are using. (If you are on the English Wikipedia, for example, you would edit this page.) To change an existing item, simply override its value with an assignment statement.

Change an existing type
For example, if you wanted to change the display name 'Kittens' to 'Cats', you would add the following to your local  file (User:Example/skin.js):

If you wanted to change the image for Stroopwafels, you would add:

添加新类型
您还可以使用JSON树结构添加全新的项类型（或子类型）. 例如添加“刺猬”：

确保在添加新项目时声明所有适当的参数！要了解所有不同的类型参数，请参阅扩展文档.

创建一个新的类型图标
The Photoshop source file for the WikiLove type icons (the black and white icons that appear in the left-hand menu) can be downloaded here. To create your own, paste in a graphic that is approximately 50 x 50 pixels, desaturate it, and copy and paste the styles that are applied to the examples in the source file.

更改心形图标
You can also customize the WikiLove heart icon used in the Vector skin by editing your vector.css file. If you want to change the red heart icon to a blue heart, for example, you would add the following:

额外部署请求
Individual wikis may request that WikiLove be deployed to them provided the following criteria are met:


 * Community consensus for the deployment has been reached
 * The WikiLove extension has been localized to that wiki's language on TranslateWiki (you can help here)
 * A configuration file exists on the local wiki (MediaWiki:WikiLove.js)

Once these criteria are met, open a bug in Phabricator requesting the deployment.

WikiLove activity in real-time
WikiLove collects data in its own tables, but this data isn't surfaced through the UI yet. To quickly see what's going on, you can use edit filter 423 on the English Wikipedia.

We're collecting stories of WikiLove usage here to better understand its evolving impact: WikiLove/Stories

Some preliminary analysis: WikiLove/Analysis

附加文档

 * Extension documentation: Extension:WikiLove
 * Design document
 * User Testing: see videos
 * Status updates
 * Media coverage based on June 24 blog post
 * Idea Log
 * Data
 * WikiLove research