This is an auto-generated MediaWiki API documentation page.
Documentation and examples:
https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
(
main
|
scribunto-console
)
- This module is internal or unstable, and you should not use it.
Its operation may change without notice.
- This module requires read rights.
- This module only accepts POST requests.
- ?????:
Scribunto
- ??????:
GPL-2.0-or-later AND MIT
Internal module for servicing XHR requests from the Scribunto console.
Specific parameters:
- 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
A "csrf" token retrieved from
action=query&meta=tokens
- This parameter is required.