Module:MOS scalesig: Difference between revisions

Ganaram inukshuk (talk | contribs)
remove tester; merge functions (check if anything breaks)
Ganaram inukshuk (talk | contribs)
m no need for debug option
Line 12: Line 12:
local is_link = yesno(args["link"], false)
local is_link = yesno(args["link"], false)
local is_long = yesno(args["long"], false)
local is_long = yesno(args["long"], false)
local debugg = yesno(args["debug"])
--local debugg = yesno(args["debug"])
function make_scalesig()
function make_scalesig()
Line 33: Line 33:
-- Debugger option
-- Debugger option
if debugg == true then
--if debugg == true then
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
-- result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
end
--end
return frame:preprocess(result)
return frame:preprocess(result)