Content deleted Content added
fix portals, brackets, typos, dates, links, references, categories, formatting and persondata, typos fixed: milions → millions, wikipedia → Wikipedia using AWB |
Hippietrail (talk | contribs) →Using personal sandbox for script development: coyedit english usage. "allos to VERB" is not native english syntax. |
||
Line 29:
== Using personal sandbox for script development ==
The English Wikipedia has the [[mw:Extension:TemplateSandbox|Template Sandbox]] extension installed. There is a synergy between the "template sandbox" and "Scribunto" extensions, which allows
=== Using "Template Sandbox" to develop Lua modules ===
Let's take a practical example. for this example, assume your user name is "Lua Developer". Let's say you want to test a bug-fix or enhancement to the [[Module:String|String]] module. There are two reasons you can't do it directly: this module contains functions that are used by hundreds of templates, transcluded in millions of articles. Any bug will present a huge disruption to Wikipedia. The 2nd reason is more prosaic: because this module is so central, it is also protected, and our "Lua Developer" user does not have the required permissions to modify this module.
|