رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=delete
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو اختیارات تحریر درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
صفحہ حذف کرتا ہے۔
- title
Title of the page to delete. Cannot be used together with pageid.
- pageid
Page ID of the page to delete. Cannot be used together with title.
- Type: integer
- reason
Reason for the deletion. If not set, an automatically generated reason will be used.
- tags
Change tags to apply to the entry in the deletion log.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل):
- deletetalk
Delete the talk page, if it exists.
- طرز: بولین (تفصیلات)
- watch
- Deprecated.
Add the page to the current user's watchlist.
- طرز: بولین (تفصیلات)
- 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
- unwatch
- Deprecated.
Remove the page from the current user's watchlist.
- طرز: بولین (تفصیلات)
- oldimage
The name of the old image to delete as provided by action=query&prop=imageinfo&iiprop=archivename.
- token
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔
- حذف صفحۂ اول.
- api.php?action=delete&title=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84&token=123ABC [تختۂ مشق میں کھولیں]
- Delete صفحۂ اول with the reason Preparing for move.
- api.php?action=delete&title=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84&token=123ABC&reason=Preparing%20for%20move [تختۂ مشق میں کھولیں]