MediaWiki API súgó

Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=strikevote

(main | strikevote)
  • Ez a modul olvasási jogot igényel.
  • Ez a modul írási jogot igényel.
  • Ez a modul csak POST kéréseket fogad el.
  • Forrás: SecurePoll
  • Licenc: GPL-2.0-or-later

Allows admins to strike or unstrike a vote.

Jellemző paraméterek:
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).
Ez a paraméter kötelező.
A következő értékek egyike: strike, unstrike
reason

The reason for striking or unstriking the vote.

Ez a paraméter kötelező.
voteid

The ID of the vote to be struck or unstruck.

Ez a paraméter kötelező.
Típus: egész szám
token

Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve

Ez a paraméter kötelező.