Module:No globals/doc
< Module:No globals
Jump to navigation
Jump to search
Revision as of 15:12, 27 April 2014 by blackwiki>Jackmcbarn (same paragraph, and give note about exclusion ending)
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 will no longer be excluded effective May 1, 2014), and the arg variable is excluded because it is necessary for Scribunto's require function to work properly. (See the Scribunto source code here.)