MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

submodule=edit-post (ep)

(main | flow | edit-post)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Font : Flow
  • Licéncia : GPL-2.0-or-later

Edits a post's content.

Paramètres :
Other general parameters are available.
eppostId

ID del messatge.

Cal aquest paràmetre.
epprev_revision

Revision ID of the current post revision, to check for edit conflicts.

Cal aquest paràmetre.
epcontent

Contengut pel messatge.

Cal aquest paràmetre.
epformat

Format of the post content (wikitext|html)

One of the following values: html, wikitext
Per defecte: wikitext
token

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

Cal aquest paràmetre.