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=scribunto-console

(main | scribunto-console)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • Source: Scribunto
  • Licence: GPL-2.0-or-later AND MIT

Internal module for servicing XHR requests from the Scribunto console.

Specific parameters:
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)