Module:government: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 95: Line 95:
temp = mw.ustring.gsub(temp, regex, "")
temp = mw.ustring.gsub(temp, regex, "")
end
end
local with_text = (" with" and with_needed) or ""
local with_text = (with_needed and " with") or ""
if mw.ustring.find(temp, "^%s*%/%s*") then
if mw.ustring.find(temp, "^%s*%/%s*") then
append(" ''or" .. with_text .. "'' ")
append(" ''or" .. with_text .. "'' ")

Navigation menu