10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 21: | Line 21: | ||
local p = 1 | local p = 1 | ||
if args["entry"] then word = args["entry"] end | if args["entry"] ~= nil then word = args["entry"] end | ||
-- All possible "modes": | -- All possible "modes": | ||
Line 301: | Line 301: | ||
local to_Return = IPA_show .. homophones_show .. rhymes_show .. syllables_show | local to_Return = IPA_show .. homophones_show .. rhymes_show .. syllables_show | ||
if args["entry"] then | if args["entry"] ~= nil then to_Return = mw.ustring.gsub(to_Return, "%[%[Category[^%]]+%]%]","") end | ||
return to_Return | |||
end | end |