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 = "Appendix:" .. string. | local appendix = "Appendix:" .. string.gsub(language.name, " ", "_") .. "/" | ||
if string.find(term, appendix) then | if string.find(term, appendix) then | ||
term = string.sub(term, #appendix + 1) | term = string.sub(term, #appendix + 1) |