مساعدة API ميدياويكي
هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.
وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbmergeitems
- هذه الوحدة تتطلب صلاحيات القراءة.
- هذه الوحدة تتطلب صلاحيات الكتابة.
- هذه الوحدة تقبل طلبات POST فقط.
- المصدر:WikibaseClient
- الترخيص: GPL-2.0-or-later
دمج عناصر متعددة.
- fromid
الرقم للدمج منه
- هذه المعلمة مطلوبة.
- toid
الرقم للدمج إليه
- هذه المعلمة مطلوبة.
- ignoreconflicts
مصفوفة بأجزاء العنصر لتجاهل التضاربات لها. يمكن أن تحتوي فقط على "description"، "sitelink" و "statement"
- القيم (منفصلة مع | أو البديل): description، sitelink، statement
- summary
ملخص التعديل. ستتم إضافته بعد تعليق مولد تلقائيا. حد الطول للتعليق التلقائي مع الملخص هو 260 حرف. انتبه إلى أن كل شيء فوق هذا الحد ستتم إزالته.
قم بتغيير العلامات لتطبيقها على المراجعات.
- القيم (منفصلة مع | أو البديل):
- bot
علم على هذا التعديل كبوت. علم المسار هذا سيتم احترامه فقط إذا ما كان المستخدم ينتمي للمجموعة "bot".
- Type: boolean (details)
- 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.
- الافتراضي: (فارغ)
- يدمج البيانات من Q999999998 إلى Q999999999
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [فتح في ملعب]
- يدمج البيانات من Q999999998 إلى Q999999999 متجاهلا أي وصلات موقع متعارضة
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [فتح في ملعب]
- يدمج البيانات من Q999999998 إلى Q999999999 متجاهلا أي وصلات موقع ووصوفات متعارضة
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [فتح في ملعب]