Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
action=transcodereset
(main | transcodereset)
- Ten moduł wymaga praw odczytu.
- Ten moduł wymaga praw zapisu.
- Ten moduł akceptuje tylko żądania POST.
- Źródło: TimedMediaHandler
- Licencja: GPL-2.0+
Users with the 'transcode-reset' right can reset and re-run a transcode job.
Parametry:
- title
Tytuł pliku multimedialnego.
- Ten parametr jest wymagany.
- transcodekey
The transcode key you wish to reset. Fetch from action=query&prop=transcodestatus.
- token
Token "csrf" zdobyty z action=query&meta=tokens
- Ten parametr jest wymagany.
Przykłady:
- Reset all transcodes for File:Clip.webm
- api.php?action=transcodereset&title=File:Clip.webm&token=123ABC [open in sandbox]
- Reset the '360_560kbs.webm' transcode key for File:Clip.webm
- api.php?action=transcodereset&title=File:Clip.webm&transcodekey=360_560kbs.webm&token=123ABC [open in sandbox]