رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=rollback

(main | rollback)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو اختیارات تحریر درکار ہیں۔
  • یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
  • ماخذ: MediaWiki
  • اجازت نامہ: GPL-2.0-or-later

صفحہ کی آخری ترمیم کو رد کرتا ہے۔

If the last user who edited the page made multiple edits in a row, they will all be rolled back.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
title

Title of the page to roll back. Cannot be used together with pageid.

pageid

Page ID of the page to roll back. Cannot be used together with title.

Type: integer
tags

Tags to apply to the rollback.

قدریں (| سے امتیاز کیا گیا ہے یا متبادل): Peshkar، RenameCategory، quick linker، repeated xwiki CoI abuse، twinkle، اضافہ القاب، القاب، تخلیق مختصر مضمون(AF)، جائزہ لیے جانے کے قابل ترامیم، غیر اردو شراکتیں
user

Name of the user whose edits are to be rolled back.

یہ پیرامیٹر لازمی ہے۔
طرز: صارف، بذریعہ صارف نام، آئی پی، عارضی صارف، بین الویکی نام (مثلاً "سابقہ>کوئی نام") اور صارف کا شناختی نمبر (مثلاً "#12345")
summary

Custom edit summary. If empty, default summary will be used.

طے شدہ: (خالی)
markbot

Mark the reverted edits and the revert as bot edits.

طرز: بولین (تفصیلات)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

ذیل کی قدروں میں سے کوئی ایک: nochange، preferences، unwatch، watch
طے شدہ: preferences
watchlistexpiry

Watchlist expiry timestamp. Omit this parameter entirely to leave the current expiry unchanged.

Type: expiry (details)
token

A "rollback" token retrieved from action=query&meta=tokens

For compatibility, the token used in the web UI is also accepted.

یہ پیرامیٹر لازمی ہے۔