Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=scribunto-console
(main | scribunto-console)
- Tento modul je interní nebo nestabilní. Jeho funkčnost se může bez předchozího upozornění změnit.
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul přijímá pouze požadavky POST.
- Zdroj: Scribunto
- Licence: GPL-2.0-or-later AND MIT
Internal module for servicing XHR requests from the Scribunto console.
Parametry:
Other general parameters are available.
- title
- The title of the module to test. 
- content
- The new content of the module. 
- session
- Session token. 
- Type: integer
- question
- The next line to evaluate as a script. 
- This parameter is required.
- clear
- Set to clear the current session state. 
- Type: boolean (details)
- token
- Token typu „csrf“ získaný pomocí action=query&meta=tokens. 
- This parameter is required.