Module:Break Isolation/doc: Difference between revisions

no edit summary
(Created page with "{{Documentation}} {{Helper module |name = Break Isolation |fname1 = get_module_store(name) |ftype1 = (string) |fuse1 = Given a name of a module, return an object. The object that is returned will be the same object when the same name is given, even across different <syntaxhighlight language="wikitext" inline>{{#invoke}}</syntaxhighlight>s }} This can be used similarly to <syntaxhighlight language="wikitext" inline>frame:callParserFunction{ name = 'vardefine/var' }</syn...")
 
No edit summary
 
Line 8:
}}
 
This can be used similarly to [[mw:Special:MyLanguage/Extension:Variables|the <syntaxhighlight language="wikitext" inline>frame:callParserFunction{ name = 'vardefine/{#var' }}</syntaxhighlight> extension]] but allows any Lua object or function (not just strings) to persist for the whole page.
 
Since this is essentially a global object, all caveats and warnings about global variables apply.
697

edits