මාධ්යවිකි API උදවු
මෙය ස්වයං-ජනිත මාධ්යවිකි API ප්රලේඛන පිටුවකි.
ප්රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API
action=delete
- මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්ය වේ.
- මෙම ඒකකය සදහා හිමිකම් ලිවීම අවශ්ය වේ.
- මෙම ඒකකය POST ඉල්ලීම් පමණක් බාරගනී.
- Source: MediaWiki
- License: GPL-2.0-or-later
Delete a page.
- 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.
Change tags to apply to the entry in the deletion log.
- වටිනාකම් ("|" සමග වෙන් කරන්න):
- deletetalk
Delete the talk page, if it exists.
- Type: boolean (details)
- watch
- විරුද්ධත්වය ප්රකාශ කර ඇත.
Add the page to the current user's watchlist.
- Type: boolean (details)
- 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
- Default: preferences
- unwatch
- විරුද්ධත්වය ප්රකාශ කර ඇත.
Remove the page from the current user's watchlist.
- Type: boolean (details)
- oldimage
The name of the old image to delete as provided by action=query&prop=imageinfo&iiprop=archivename.
- token
action=query&meta=tokens මගින් "csrf" සංඥාව සොයාගන්නා ලදී
- This parameter is required.
- Delete මුල් පිටුව.
- api.php?action=delete&title=%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A%20%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80&token=123ABC [open in sandbox]
- Delete මුල් පිටුව with the reason Preparing for move.
- api.php?action=delete&title=%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A%20%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80&token=123ABC&reason=Preparing%20for%20move [open in sandbox]