Jump to navigation Jump to search
This page is a translated version of the page WikiLove and the translation is 39% complete.
Outdated translations are marked like this.
Other languages:
Afrikaans • ‎Bahasa Indonesia • ‎English • ‎Esperanto • ‎Nederlands • ‎Tiếng Việt • ‎bosanski • ‎español • ‎euskara • ‎français • ‎furlan • ‎hrvatski • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎русский • ‎українська • ‎עברית • ‎اردو • ‎العربية • ‎سنڌي • ‎فارسی • ‎বাংলা • ‎తెలుగు • ‎සිංහල • ‎中文 • ‎日本語 • ‎한국어
L’appréciation est une chose merveilleuse; elle fait de l’excellence chez les autres une qualité qui rejaillit sur nous tous. — Voltaire

WikiLoves est une fonctionnalité qui a pour but de rendre facile et amusante l'appréciation des autres utilisateurs. On peut utiliser WikiLoves sur n'importe quelle page utilisateur en cliquant sur le bouton «cœur». Cette fonctionnalité a d'abord été développée par Ryan Kaldari comme un script utilisateur, et est maintenant disponible comme une MediaWiki extension que les développeurs peuvent ajouter à leur wiki. WikiLove can be invoked from any user page by clicking the "Heart" icon. It was originally developed by Ryan Kaldari as a user script, and is now available as a MediaWiki extension that developers can add to their wikis.


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.

D'un autre côté, éditer Wikipedia tend à devenir de plus en plus compliqué dans le temps, et la probabilité que les nouveaux utilisateurs soient corrigés/critiqués a grimpée. C'est le reflet de divers efforts pour codifier et analyser l’expérience des nouveaux utilisateurs, comme récemment le Newbie teaching strategy research sprint entrepris dans le cadre de notre Eté de la Recherche.

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

Dates principales

  • June 16, 2011: WikiLove activé sur
  • June 24, 2011: WikiLove on-by-default for registered users on; blog announcement calling for testers
  • June 30, 2011: WikiLove deployé sur Wikipédia en anglais. Voir WikiLove actions.
  • October 28, 2011: WikiLove deployed to the Macedonian Wikipedia (sous le nom "ВикиЉубов").

Comment neutraliser

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.

Comment adapter aux besoins du client

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.

Changez un type existant

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() {
  $ = 'Cats';
} );

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

mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
  $ = 'Stroopwafels.jpg';
} );

Ajouter un nouveau 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: '' // 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.

Créer un nouveau type d'icône

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.

Changez l'icône du cœur

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");

Demandes de déploiement additionnel

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 activité en temps réel

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

Quelque analyse préliminaire : WikiLove/Analyse

Documents additionnels

  • Extension documentation: