10,735
edits
TheNightAvl (talk | contribs) mNo edit summary Tag: Reverted |
TheNightAvl (talk | contribs) mNo edit summary Tag: Manual revert |
||
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().text | ||
if language.proto then | if language.proto then | ||
term = mw.ustring.gsub(term, "^[^/]+/", "") | term = mw.ustring.gsub(term, "^[^/]+/", "") |