WikiLove

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page WikiLove and the translation is 32% complete.

Other languages:
Afrikaans • ‎English • ‎Esperanto • ‎Nederlands • ‎Türkçe • ‎bosanski • ‎català • ‎español • ‎euskara • ‎français • ‎furlan • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎татарча/tatarça • ‎українська • ‎עברית • ‎اردو • ‎العربية • ‎سنڌي • ‎فارسی • ‎বাংলা • ‎తెలుగు • ‎සිංහල • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

Com o reconhecimento nos fazemos a excelência dos outros uma propriedade nossa.

WikiLove é uma ferramenta desenhada para tornar mais fácil e divertido a demonstração de apreço por outros usuarios. Wikilove pode usar-se apartir de qualquer página do usuario, seleccionando o ícone em forma de coração. Wikilove foi originalmente programado por Ryan Kaldari como um código de usuario e está agora disponível como uma extensão MediaWiki MediaWiki extension que os programadores podem acrescentar a seus wikis.

Rationale

Os usuários gostam de ser valorizados. De acordo com um estudo realizado em 2011 sobre editores da Wikipedia (top-line data) das 17 variáveis usadas "ser desvalorizado por editores mais experientes" é a maior causa para que as pessoas decidam editar menos frequentemente (69% concordaram), enquanto que " receber elogios sobre as suas edições/artigos" é a maior causa para que as pessoas decidam editar mais frequentemente" (78% concordaram). Veja também: no blog da Wikipedia "Positive feedback works for editing, say Wikipedia editors".

Por outro lado editar a Wikipedia tornou-se mais difícil com o passar do tempo, e a probabilidade dos novos editores serem corrigidos/criticados tem aumentado. Isto reflecte-se em diversos esforços para codificar e analisar a experiência dos novos usuários, bem como a recente investigação sobre estratégias para ensinar os Newbies realizada no âmbito do nossa 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.

Datas chaves

  • June 16, 2011: WikiLove activated on prototype.wikimedia.org
  • June 24, 2011: WikiLove on-by-default for registered users on prototype.wikimedia.org; blog announcement calling for testers
  • June 30, 2011: WikiLove deployed to the English Wikipedia. See WikiLove actions.
  • October 28, 2011: WikiLove deployed to the Macedonian Wikipedia (under the name "ВикиЉубов").

How to disable

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.

Como personalizar

A interface do WikiLove pode ser personalizada para se adequar às necessidades da cada editor. Se quer usar o WikiLove para deixar mensagens de boas-vindas, bolos de aniversário ou ouriços-cacheiros, é fácil sobrescrever a configuração padrão com configurações do próprio.

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

Adicionar um novo tipo

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: '[[Special:MyLanguage/$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,
    height: 150,
    number: 3
  },
  icon: 'http://www.mysite.com/images/icons/wikilove-icon-hedgehog.png'
};
} );

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 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.

Change the heart icon

You can also customize 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 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

Additional documents