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)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Flow
- License: GPL-2.0-or-later
Edits a post's content.
Parameters:
- eppostId
Post ID.
- This parameter is required.
- epprev_revision
Revision ID of the current post revision, to check for edit conflicts.
- This parameter is required.
- epcontent
Content for post.
- This parameter is required.
- epformat
Format of the post content (wikitext|html)
- One of the following values: html, wikitext
- Default: wikitext
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.