Jump to content

위키사랑

From mediawiki.org
This page is a translated version of the page WikiLove and the translation is 28% complete.
Outdated translations are marked like this.
An impression of the abstract concept of WikiLove
An impression of the abstract concept of WikiLove
By appreciation we make excellence in others our own property. — Voltaire

위키사랑은 다른 사용자들에게 공개적으로 감사를 쉽고 재밌게 표할 수 있도록 설계된 기능입니다. 위키사랑은 사용자 문서에서 "하트" 아이콘을 클릭하여 호출할 수 있습니다. 원래 Ryan Kaldari가 사용자 스크립트로 개발한 것으로, 지금은 개발자들이 위키에 추가할 수 있는 미디어위키 확장 기능의 하나로 이용이 가능합니다.

이유

Users like to feel valued. According to the 2011 survey of Wikipedia editors (see top-line data), among 17 variables, "being looked down on by more experienced editors" is the most likely to cause people to say they will edit less frequently (69% agreement), while "having others compliment you on your edits/articles" is the most likely to cause people to say they will edit more frequently (78% agreement). See also: "Positive feedback works for editing, say Wikipedia editors" on the Wikimedia blog.

On the other hand, editing Wikipedia has tended to become harder over time, and the likelihood that new users will receive correction/criticism has increased. This is reflected by various efforts to code and analyse the experience of new users, such as the recent Newbie teaching strategy research sprint undertaken within the scope of our Summer of Research.

Relative proportion of different types of messages sent to new users English Wikipedia, as coded in the newbie teaching strategy trends research sprint

중요 날짜

  • 6월 16일, 2011년: 위키사랑 activated onprototype.wikimedia.org
  • 6월 24일, 2011년: WikiLove on-by-default for registered users on prototype.wikimedia.org; blog announcement calling for testers
  • 6월 30일, 2011년: 위키사랑 deployed to the English Wikipedia. See WikiLove actions.

비활성화하는 방법

To disable WikiLove, go to the editing tab in your preferences, and uncheck the box next to "Enable showing appreciation for other users with the WikiLove tab" under User pages. Then click Save.

Turn WikiLove on or off using the checkbox in your preferences.

어떻게 커스터마이즈하나요?

The WikiLove interface can be tailored to suit the needs of each individual editor. If you want to use WikiLove for leaving welcome messages, birthday cakes, or hedgehogs, it's easy to override the default configuration with your own settings.

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 .js file (User:Example/skin.js):

mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
  $.wikiLoveOptions.types.kitten.name = 'Cats';
} );

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

mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
  $.wikiLoveOptions.types.food.subtypes.stroopwafels.image = 'Stroopwafels.jpg';
} );

새 타입 만들기

You can also add an entirely new item type (or subtype) using the JSON tree structure. For example to add "Hedgehogs":

mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
$.wikiLoveOptions.types.hedgehog = {
  name: 'Hedgehogs', // name of the type (appears in the types menu)
  fields: [ 'header', 'message' ], // fields to ask for in form
  header: 'A hedgehog for you!', // header that appears at the top of the talk page post (optional)
  text: '[[$3|left|150px]]\n$1\n\n~~'+'~~\n<br style="clear: both"/>', // $3 is the image filename, $1 is the message
  gallery: {
    imageList: [ 'Hedgehog1.jpg', 'Orizo5.jpg', 'Erinaceus europaeus LC0119.jpg' ],
    width: 145, // maximum width of the images in the gallery
    height: 150, // maximum height of the images in the gallery
    number: 3 // number of random images to show (optional)
  },
  icon: 'http://www.mysite.com/images/wikilove-icon-hedgehog.png' // appears in the types menu
};
} );

Make sure you declare all of the appropriate parameters when adding new items! To learn about all the different type parameters, refer to the extension documentation.

새로운 종류의 아이콘 만들기

The Photoshop source file for the WikiLove type icons (the black and white icons that appear in the left-hand menu) can be downloaded. To create your own, paste in a graphic that is approximately 50 × 50 pixels, desaturate it, and copy and paste the styles that are applied to the examples in the source file.

하트 아이콘 바꾸기

You can also customise the WikiLove heart icon used in the Vector skin by editing your vector.css file (User:Example/vector.css). If you want to change the red heart icon to a blue heart, for example, you would add the following:

#ca-wikilove.icon a {
  background-image: url("/w/extensions/WikiLove/resources/images/heart-icons-blue.png");
}

Requests for additional deployment

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 localised to that wiki's language on TranslateWiki (you can help localise it)
  • 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

추가적인 문서