MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=wikilove

(main | wikilove)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: WikiLove
  • License: MIT

Give WikiLove to another user.

WikiLove is a positive message posted to a user's talk page through a convenient interface with preset or locally defined templates. This action adds the specified wikitext to a certain talk page. For statistical purposes, the type and other data are logged.

Parameters:
title

Full pagename of the user page or user talk page of the user to send WikiLove to.

This parameter is required.
text

Raw wikitext to add in the new section.

This parameter is required.
message

Actual message the user has entered, for logging purposes.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
subject

Subject header of the new section.

This parameter is required.
type

Type of WikiLove (for statistics); this corresponds with a type selected in the menu, and optionally a subtype after that (e.g. as in "The Original Barnstar" or "A kitten for you!").

email

Content of the optional email message to send to the user. A warning will be returned if the user cannot be emailed. WikiLove will be sent to the users talk page either way.

Vojna Enciklopedija - Glavni i odgovorni urednik Branislav Kapetanović