Module:No globals/doc: Difference between revisions

From The Kodiak Republic Wiki
Content added Content deleted
m (Undid revision 896863086 by Capankajsmilyo (talk), premature, no discussion of this module being updated by a bot, DiBabelYurikBot has no admin rights)
Line 7:
 
== See also ==
* [[Module:Log globals]] - Addsadds all nil global reads/writes to the lua log
 
<includeonly>{{Sandbox other||

Revision as of 16:29, 24 September 2019


This module causes an error if any nil global is read or if any global is written to, with the exception of arg. To use, add require('Module:No globals') to the top of the module using it. The arg variable is excluded because it is necessary for Scribunto's require function to work properly. (See the Scribunto source code here.)

See also


Cookies help us deliver our services. By using our services, you agree to our use of cookies.