Module:labels: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 40: Line 40:
if i > 1 then
if i > 1 then
local conjunctions = {["with"] = true, ["and"] = true, ["or"] = true, ["/"] = true}
local conjunctions = {["with"] = true, ["and"] = true, ["or"] = true, ["/"] = true}
if conjunctions[l_id] or conjunctions[labels[i-1]] then
if conjunctions[l_id] or conjunctions[labels[i-1]] or mw.ustring.find(l_id, "^with%s") then
skip_comma = true
skip_comma = true
end
end