Module:head/templates: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
mNo edit summary
Line 49: Line 49:
local appendix = string.gsub(string.gsub(language.name, " ", "_"), "%-", "%%-")
local appendix = string.gsub(string.gsub(language.name, " ", "_"), "%-", "%%-")
appendix = "Appendix:" .. appendix .. "/"
appendix = "Appendix:" .. appendix .. "/"
term = string.gsub(term, appendix, "")
term = mw.ustring.gsub(term, "Appendix:[^%/]+%/", "")
end
end
return {
return {