Module:Sandbox/sandbox: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
PorkchopGMX (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
-- NOTICE: For an editable module sandbox that anyone can use, please go to Module:Sandbox/testcases. You can also test usong a subpage like: Module:Sandbox/Your Name/sandbox, where Your Name is your username. Thank you! |
|||
local p = {} |
|||
function p.memoryleak() |
|||
local i = 1 |
|||
local k = {"memory leak test"} |
|||
while true do |
|||
k[i+1] = tostring(k[i])..tostring(k[i]) |
|||
i = i + 1 |
|||
end |
|||
return tostring(k) |
|||
end |
|||
return p |
Revision as of 18:02, 18 December 2018
![]() | This is the module sandbox page for Module:Sandbox (diff). |
![]() | This module is subject to page protection because this page is not itself a sandbox. If you want to test a module, see the instructions below or use Module:Module sandbox; do not edit this page itself. |
![]() | This page is not a sandbox. It should not be used for test editing. To experiment, please use the Wikipedia sandbox, your user sandbox, or the other sandboxes. |
Scribunto testing area
This is not an actual Lua module. It exists to provide a convenient pseudo-namespace for code testing, hopefully preventing the main Module: namespace from becoming littered with experiments, as Lua modules cannot exist as subpages in the User: namespace.
Please name your experimental modules in the following format to help keep things tidy:
Module:Sandbox/Your User Name
If you need more Module sandboxes, create subpages of the sandbox thus created.
You can use Special:PrefixIndex/Module:Sandbox to list modules in this area.