راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wikilove

(main | wikilove)
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: WikiLove
  • مجوز: MIT

فرستادن ویکی‌عشق به یک کاربر دیگر

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.

پارامترها:
Other general parameters are available.
title

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

این پارامتر الزامی است.
text

ویکی‌متن خام برای افزودن در بخش جدید

این پارامتر الزامی است.
message

Actual message the user has entered, for logging purposes.

token

یک بلیط «csrf» واکشی‌شده از action=query&meta=tokens

این پارامتر الزامی است.
subject

نام بخش جدید

این پارامتر الزامی است.
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 "بچه گربه‌ای برای شما!").

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.

مقدارهای (جداشده با | یا جایگزین‌های آن): Huggle، WPCleaner، huggle، twinkle، wiki-patrol، افتخاری، عدم استفاده از یادکرد و پانویس (پخ)، پرسش پنل مربی