Subpages
Code analysis
Basic code analysis for Module:Sandbox/Aidan9382 | |
---|---|
Scope | Message |
Scope starting line 4 | data is defined but never referenced
|
Scope starting line 8 | data is defined but never referenced
|
Scope starting line 12 | data is defined but never referenced
|
Unknown | Return value of require("Module:No globals") was ignored
|
Test invokes
Lua error in package.lua at line 80: module 'Module:No globals' not found.
Lua error in package.lua at line 80: module 'Module:No globals' not found.
parenting Lua error in package.lua at line 80: module 'Module:No globals' not found.
Lua error in package.lua at line 80: module 'Module:No globals' not found.
Lua error in package.lua at line 80: module 'Module:No globals' not found.
Lua error in package.lua at line 80: module 'Module:No globals' not found.
require("Module:No globals")
local functions = {}
function functions.main(data)
return "<div style=text-align:right;font-size:80%>This does nothing as of right now. "..os.time().."</div>"
end
function functions.iloveregexold(data)
local r = "%[?%[?.-:([^{|]+)%]?%]?"
return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)
end
function functions.iloveregex(data)
local r = "%[?%[?%a-:([^{|]+)([^]]*)?%]?%]?"
return mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)
end
function functions:namecall()
return self
end
return functions