10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary Tag: Reverted |
||
Line 45: | Line 45: | ||
local p = m_parameters.process(args, params) | local p = m_parameters.process(args, params) | ||
local language = m_languages.get_by_code(p[1]) | local language = m_languages.get_by_code(p[1]) | ||
local term = mw.title.getCurrentTitle(). | local term = mw.title.getCurrentTitle().subpageText | ||
if language.proto then | if language.proto then | ||
term = mw.ustring.gsub(term, "^[^/]+/", "") | term = mw.ustring.gsub(term, "^[^/]+/", "") |