Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

action=csdeletecomment

(main | csdeletecomment)
  • Modul ini memerlukan hak membaca.
  • Modul ini menerima permohonan POST sahaja.
  • Source: CommentStreams
  • License: MIT

Delete a comment. Either pageid or title must be provided.

Parameter:
Other general parameters are available.
pageid

page ID of the page which holds the comment to delete

Type: integer
title

title of the page which holds the comment to delete

token

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

This parameter is required.
Contoh-contoh:
delete comment with page ID 3
api.php?action=csdeletecomment&pageid=3 [open in sandbox]
delete comment with page title CommentStreams:3
api.php?action=csdeletecomment&title=CommentStreams:3 [open in sandbox]