Module:No globals/doc
< Module:No globals
Jump to navigation
Jump to search
Revision as of 13:14, 27 April 2014 by blackwiki>Mr. Stradivarius (add details about why the exceptions were made)
This is the documentation page for Module:No globals
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This module causes an error if any nil global is read or if any global is written to, with the exception of arg, and temporarily, name. To use, add
require('Module:No globals')
to the top of the module using it.
The name variable is excluded because of a bug in MediaWiki, and the arg variable is excluded because it is necessary for Scribunto's require function to work properly. (See the Scribunto source code here.)