2,788
edits
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
local term = p["head"] or mw.title.getCurrentTitle().text | local term = p["head"] or mw.title.getCurrentTitle().text | ||
if language.proto then | if language.proto then | ||
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 = string.gsub(term, appendix, "") |