विकिपीडिया:लुआ: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Nnemo
imported>Wnt
→‎Wikipedia-specific features: This seemed really garbled. I don't completely recall if it's right now either.
लाइन 103:
 
== Wikipedia-specific features ==
Overall: Lua can only get input as text strings passed to the <code><nowiki>{{#invoke:}}</nowiki></code> and what can be fetched via mw.title.new(...):getContent(). Except where frame:expandTemplate, or frame:preprocess, andare theused like.explicitly, Lua output on Wikipedia can only output wikitextwill not including pre-save transforms orexpand transclusions and other <code><nowiki>{{...}}</nowiki></code> constructs. Also, all Lua in the page is limited to 10 seconds CPU time (you can look in the source code of a rendered page to see how long a template or module took to parse). And relative to standard Lua, Scribunto's Lua lacks all sorts of functions (see [[mw:Extension:Scribunto/Lua reference manual#Differences from standard Lua]]).
 
=== Lua input limitations ===