Difference between revisions of "Module:Template translation"
Jump to navigation
Jump to search
m
Module:Template translation (view source)
Revision as of 16:38, 1 February 2014
, 16:38, 1 February 2014no edit summary
>Verdy p m (support the uselang parameter) |
>Verdy p m |
||
Line 97: | Line 97: | ||
-- Get the last subpage and check if it matches a known language code. | -- Get the last subpage and check if it matches a known language code. | ||
local subpage = args['uselang'] or '' | local subpage = args['uselang'] or '' | ||
if (subpage == '') then | if (subpage == '') | ||
then | |||
subpage = this.getLanguageSubpage() | subpage = this.getLanguageSubpage() | ||
end | end |