MediaWiki:Scribunto-console-intro
From Battle For Wesnoth Fan Wiki
- The module exports are available as the variable "p", including unsaved modifications.
- Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables.
- Use mw.log() and mw.logObject() in module code to send messages to this console.