Jump to content

Module talk:Lua call/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wnt (talk | contribs) at 17:49, 18 August 2014 (Comparing with another option. I really ought to make a literal-if-I-can't-find-it rule to make the syntax simpler though.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

test test test test test test test 

I. c.a.n.'t. g.e.t. n.o. s.a.t.i.s.f.a.c.t.i.o.n.

22

2

1

0.4512

181

For comparison with n:Template:Evalx:

bc

I sincerely hope that no one ever actually uses this

We don't provide loadstring() because we don't want people trying to embed Lua in pages or templates because that leads to unreadable messes. So this is fun (and impressive) like IOCCC entries, but there's no reason to use this any more than there is to use the old padleft hacks for string functions now that we have Scribunto. BJorsch (WMF) (talk) 18:14, 11 March 2014 (UTC)[reply]

I think the point of this is to avoid having to make a bunch of one-line modules (though I would yell about this appearing in an article). Jackmcbarn (talk) 15:48, 14 March 2014 (UTC)[reply]