ВікіСимпатія

This page is a translated version of the page WikiLove and the translation is 23% complete.
Outdated translations are marked like this.

ВікіСимпатія – це функція, розроблена для того, щоб було легко та весело публічно висловлювати подяку іншим користувачам. ВікіСимпатія може бути виказана будь-якому користувачеві на його сторінці. Для цього необхідно натиснути на іконку "серця" в правому верхньому куті сторінки вибраного вами користувача. Початково був розроблений Раяном Калдарі у якості користувацького скрипта, а зараз доступний як розширення MediaWiki extension, яке розробники можуть додавати у свої вікі.

An impression of the abstract concept of WikiLove
An impression of the abstract concept of WikiLove
Цінуючи в інших досконалість ми робимо її своїм надбанням. — Вольтер

Обґрунтування

Користувачі люблять почуватися значущими. Згідно з опитуванням редакторів Вікіпедії 2011 року (див. дані у верхній частині рядка), серед 17 змінних «позитивне ставлення досвідчених редакторів» з найбільшою ймовірністю спонукає людей казати, що вони будуть редагувати рідше (згодні 69%), у той час як «коли інші роблять вам компліменти за ваші редагування/статті» з найбільшою вірогідністю змусить людей казати, що вони будуть редагувати частіше (згодні 78%). Див. також: "Позитивний відгук працює для редагування, кажуть редактори Вікіпедії" у блозі Вікімедіа.

З іншого боку, редагувати Вікіпедію з часом стало важче, і зросла ймовірність того, що нові користувачі отримають виправлення/критику. Це відображено в різноманітних зусиллях із кодування й аналізу досвіду нових користувачів, як-от нещодавній спринт дослідження стратегії викладання для новачків, проведений у рамках нашого Літа Досліджень.

 
Відносна частка різних типів повідомлень, надісланих новим користувачам Вікіпедії англійською мовою, закодована в дослідницькому спринті стратегії викладання новачків

Ключові дати

  • 16 червня 2011: ВікіСимпатія активована наprototype.wikimedia.org
  • 24 червня 2011: ВікіСимпатія за замовчанням увімкнена для зареєстрованих користувачів на prototype.wikimedia.org; на блозі анонсоване тестування
  • 30 червня 2011: ВікіСимпатія розгорнута в Англійській Вікіпедії. Див. дії ВікіСимпатії.
  • 28 жовтня 2011: ВікіСимпатія розгорнута в Macedonian Wikipedia (під назвою «ВикиЉубов»).
  • June 30, 2011: WikiLove deployed to the English Wikipedia. See WikiLove actions.

Як вимкнути

Щоб вимкнути WikiLove, перейдіть на вкладку редагування у ваших налаштуваннях і зніміть прапорець біля пункту «Увімкнути відображення вдячності для інших користувачів за допомогою вкладки WikiLove» у розділі сторінки Користувача. Потім натисніть Зберегти.

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

How to customise

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';
} );

Add a new type

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.

Create a new type icon

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.

Change the heart icon

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

Additional documents

  • Extension documentation:

Extension:WikiLove