Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=wikilove
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Извор: WikiLove
- Лиценца: 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.
- 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 "Општа споменица" or "Маче за тебе!").
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):
- Доделите викиљубав кориснику "Dummy"
- api.php?action=wikilove&title=User:Dummy&text=Love&subject=Hi&token=123ABC [open in sandbox]