Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
move deprecated params check to inside wrapper function
Ganaram inukshuk (talk | contribs)
"deprecated template parameters" -> "deprecated parameters"
Line 295: Line 295:
local other_names = frame.args["Other Names"] or ""
local other_names = frame.args["Other Names"] or ""
local depparams = other_names ~= "" and " [[Category:Pages with deprecated template parameters]]" or ""
local depparams = other_names ~= "" and " [[Category:Pages with deprecated parameters]]" or ""
return p._mos_intro(input_mos, other_names) .. depparams
return p._mos_intro(input_mos, other_names) .. depparams