Module:VarTestSandbox: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1300:13, 17 October 2024Alex talk contribs 319 bytes +319 Created page with "local p = {} local var = mw.ext.VariablesLua function p.set(frame) for i=1,100 do mw.log(i, "set") var.vardefine(string.format("bigvar%d", i), i*i) end end function p.get(frame) local out = {} for i=1,100 do mw.log(i, "get") table.insert(out, var.var(i)) end return table.concat(out, "") end return p"