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

action=strikevote

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

Allows admins to strike or unstrike a vote.

Paramètres :
Other general parameters are available.
option

Which action to take: strike or unstrike a vote.

strike
Strike a vote (remove it from the count).
unstrike
Unstrike a vote (restore it to the count).
Cal aquest paràmetre.
One of the following values: strike, unstrike
reason

The reason for striking or unstriking the vote.

Cal aquest paràmetre.
voteid

The ID of the vote to be struck or unstruck.

Cal aquest paràmetre.
Tipus: enter
token

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

Cal aquest paràmetre.