Module:rhymes: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 57: Line 57:
rhyme = mw.ustring.gsub(rhyme, "[%/%[%]]", "")
rhyme = mw.ustring.gsub(rhyme, "[%/%[%]]", "")
local rhyme2
local rhyme2
if from_secondary[language.code] then
if from_secondary[language.code] and mw.ustring.find(rhyme, "ˌ") then
rhyme2 = {}
rhyme2 = {}
for rhyme_match in mw.ustring.gmatch(rhyme, "ˌ(.*)$") do
for rhyme_match in mw.ustring.gmatch(rhyme, "ˌ(.*)$") do