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.sub(language.name, " ", "_") .. "/" | ||
term = string.sub(term, appendix, "") | |||
end | end | ||
return { | return { |