مساعدة API ميدياويكي

هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.

وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wbcreateredirect

(main | wbcreateredirect)
  • هذه الوحدة تتطلب صلاحيات القراءة.
  • هذه الوحدة تتطلب صلاحيات الكتابة.
  • هذه الوحدة تقبل طلبات POST فقط.
  • المصدر:WikibaseClient
  • الترخيص: GPL-2.0-or-later

ينشئ تحويلات العناصر

وسائط:
Other general parameters are available.
from

رقم الكيان لصنع تحويلة

هذه المعلمة مطلوبة.
to

رقم الكيان لتوجيه التحويلة إليه

هذه المعلمة مطلوبة.
token

تم استرداد رمز مميز "csrf" من action=query&meta=tokens

هذه المعلمة مطلوبة.
bot

علم على هذا التعديل كبوت. علم المسار هذا سيتم احترامه فقط إذا ما كان المستخدم ينتمي للمجموعة "بوتات".

Type: boolean (details)
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=wbcreateredirect&from=Q999999998&to=Q999999999 [فتح في ملعب]