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

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

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

action=wbremovequalifiers

(main | wbremovequalifiers)
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: WikibaseRepository
  • مجوز: GPL-2.0-or-later

Removes a qualifier from a claim.

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

یک شناسۀ GU که اظهاراتی را که گستره‌نماهایشان بایستی حذف شود را مشخص می‌کند

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

اسنک گستره‌نماهایی که بایستی حذف شوند

این پارامتر الزامی است.
Separate values with | or alternative.
حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیت‌های بالاتر را دارند).
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

tags

Change tags to apply to the revision.

مقدارهای (جداشده با | یا جایگزین‌های آن):
token

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

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

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

نوع: عدد صحیح
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "ربات‌ها".

نوع: بولی (جزئیات)
returnto

Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.

نوع: عنوان صفحه
صفحه‌های ناموجود را می‌پذیرد
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

پیش‌فرض: (خالی)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

پیش‌فرض: (خالی)
نمونه:
Remove qualifier with hash "1eb8793c002b1d9820c833d234a1b54c8e94187e" from claim with GUID of "Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F"
api.php?action=wbremovequalifiers&claim=Q999999998$D8404CDA-25E4-4334-AF13-A3290BCD9C0F&qualifiers=1eb8793c002b1d9820c833d234a1b54c8e94187e&token=foobar&baserevid=7201010 [باز کردن در صفحهٔ تمرین]