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 13 | data is defined but never referenced
|
Test invokes
This does nothing as of right now. 1756334540
Script error: The function "notrealfunction" does not exist.
parenting Script error: The function "parentingLogic" does not exist.
Script error: The function "getargs" does not exist.
Script error: The function "testGP" does not exist.
Script error: The function "magicWordTests" does not exist.
require("strict")
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 = "%[?%[?.-:([^{|]+)%]?%]?"
local args = {mw.ustring.match("[[File:Hey.jpg|thumb|left|250px]]",r)}
return table.concat(args," -- ")
end
function functions.iloveregex(data)
--This assumes [[ is present, and that therefore ]] is present
local r = "%[%[%a-:([^{|]+)(.+)%]%]"
local args = {mw.ustring.match("[[File:Hey.jpg|thumb|left|250px|All for [[Module:Excerpt/portals]]|alt=text]]",r)}
return table.concat(args," -- ")
end
function functions:namecall()
return self
end
return functions