Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
tuning -> input_mos; scalesig entered is processed as a mos and back to string to ensure it's formatted correctly for the infobox title (trying the long string first)
Ganaram inukshuk (talk | contribs)
bugfix incorrectly passing the long string as the input mos
Line 455: Line 455:
local debug_mode = yesno(args["debug"], false)
local debug_mode = yesno(args["debug"], false)
local result = p._infobox_mos(mos.as_long_string(input_mos), other_names)
local result = p._infobox_mos(input_mos, other_names)
if not debug_mode then
if not debug_mode then
result = result .. p.categorize(input_mos)
result = result .. p.categorize(input_mos)