MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

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.

Specific parameters:
Other general parameters are available.
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 user's talk page either way.

tags

Change tags to apply to the revision.

Values (separate with | or alternative): AWB, Non-sysop user move other user page, Possible vandalism, Testing an AbuseFilter, adding email address, test tag, userRightsManager