Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
action=cseditcomment
(main | cseditcomment)
- Modul ini memerlukan hak membaca.
- Modul ini menerima permohonan POST sahaja.
- Source: CommentStreams
- License: MIT
Edit an existing 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 edit
- Type: integer
- title
title of the page which holds the comment to edit
- commenttitle
title for comment.
- This parameter is required.
- wikitext
wikitext for comment.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Contoh-contoh:
- edit comment with page ID 3
- api.php?action=cseditcomment&pageid=3 [open in sandbox]
- edit comment with page title CommentStreams:3
- api.php?action=cseditcomment&title=CommentStreams:3 [open in sandbox]