Module:head/templates: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo 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 = mw.ustring.gsub(term, "Appendix:[^/]+/", "")
term = mw.ustring.gsub(term, "^[^/]+/", "")
end
end
return {
return {