Module:No globals/doc: Difference between revisions

From Campaigns
Jump to navigation Jump to search
 
Created page with "<noinclude><!-- -->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!-- --></noinclude> == Usage == Include this module at the top of your code. An error will be raise..."
Line 1: Line 1:
<noinclude><!--
<noinclude><!--
-->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!--
-->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!--
--><languages /><!--
--></noinclude>
--></noinclude>{{#switch:<translate></translate>
== Usage ==
| =
Include this module at the top of your code. An error will be raised any time your code tries to read or write to a non-local (undeclared) variable.
<includeonly>{{Languages|Module:No globals/doc}}</includeonly>
{{Shared Template Warning|Module:No globals|No globals}}
{{Module rating|release}}
{{Module rating|protected}}
<translate>
== Usage == <!--T:1-->
</translate>
<translate><!--T:2--> Include this module at the top of your code.</translate>
<translate><!--T:3--> An error will be raised any time your code tries to read or write to a non-local (undeclared) variable.</translate>


<translate>
== Tests ==
== Tests == <!--T:4-->
</translate>
{{ModuleQuality}}
{{ModuleQuality}}
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Modules{{#translation:}}]]
[[Category:Modules]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
[[Category:Module documentation pages{{#translation:}}]]
[[Category:Module documentation pages]]
</noinclude>
</noinclude>
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Module:No globals/doc|noshift=1|uselang={{int:lang}}}}
}}

Revision as of 18:55, 3 November 2021

Usage

Include this module at the top of your code. An error will be raised any time your code tries to read or write to a non-local (undeclared) variable.

Tests

Test Status
Module:No globals success: 1, error: 0, skipped: 0
Module:No globals/sandbox success: 1, error: 0, skipped: 0