Module:head/templates: Difference between revisions

Jump to navigation Jump to search
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 {

Navigation menu