Module:No globals
Appearance
An editor has asked fordeletionof this module. |
Module:No globals is deprecated, please userequire( 'strict' ) variant instead. |
This Lua module is used on113,000+ pages. To avoid major disruption and server load, any changes should be tested in the module's/sandboxor/testcasessubpages, or in your ownmodule sandbox.The tested changes can be added to this page in a single edit. Consider discussing changes on thetalk pagebefore implementing them. |
This Lua module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the module's/sandboxor/testcasessubpages, or in your ownmodule sandbox.The tested changes can be added to this page in a single edit. Please discuss changes on thetalk pagebefore implementing them. |
This module issubject to page protection.It is ahighly visible modulein use by a very large number of pages, or issubstitutedvery frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it isprotectedfrom editing. |
This module causes an error if any nilglobalis read or if any global is written to, with the exception ofarg.To use, addrequire('Module:No globals')
to the top of the module using it. Theargvariable is excluded because it is necessary for Scribunto'srequirefunction to work properly. (See the Scribunto source codehere.)
See also
- Module:Log globals– adds all nil global reads/writes to the lua log