Module:head/templates: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 47: Line 47:
local term = mw.title.getCurrentTitle().text
local term = mw.title.getCurrentTitle().text
if language.proto then
if language.proto then
local appendix = string.gsub(string.gsub(language.name, " ", "_"), "%-", "%%-")
appendix = "Appendix:" .. appendix .. "/"
term = mw.ustring.gsub(term, "^[^/]+/", "")
term = mw.ustring.gsub(term, "^[^/]+/", "")
end
end

Navigation menu