راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbmergeitems
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان تنها درخواستهای POST را میپذیرد.
- منبع: WikibaseRepository
- مجوز: GPL-2.0-or-later
ادغام چند آیتم مختلف
- fromid
شناسه برای ادغام از
- این پارامتر الزامی است.
- toid
شناسه برای ادغام به
- این پارامتر الزامی است.
- ignoreconflicts
Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"
- مقدارهای (جداشده با | یا جایگزینهای آن): description، sitelink، statement
- summary
خلاصه ویرایش. یک نظر خود به خودی ایجاد میشود. محدودیت طول آن، ۲۶۰ نویسه است. دقت کنید که بیشتر از آن نشان داده نمیشود.
Change tags to apply to the revisions.
- مقدارهای (جداشده با | یا جایگزینهای آن):
- bot
این ویرایش را به عنوان ربات علامتگذاری کن فلگ یوآرال تنها در صورتی قابل اعتنا است که کاربر موردنظر عضو گروه «ربات» باشد.
- نوع: بولی (جزئیات)
- token
یک بلیط «csrf» واکشیشده از action=query&meta=tokens
- این پارامتر الزامی است.
- 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.
- پیشفرض: (خالی)
- ادغام اطلاعات از Q42 به Q222
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [باز کردن در صفحهٔ تمرین]
- ادغام اطلاعات از Q66 به Q99 بدون درنظر گرفتن هیچ تداخل پیوندها
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [باز کردن در صفحهٔ تمرین]
- ادغام اطلاعات از Q66 به Q99 بدون درنظر گرفتن هیچ تداخل برچسب و توضیحات و پیوندها
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [باز کردن در صفحهٔ تمرین]