Difference between revisions of "Module:Template translation"
Jump to navigation
Jump to search
m
Module:Template translation (view source)
Revision as of 16:31, 1 February 2014
, 16:31, 1 February 2014support the uselang parameter
>Verdy p m |
>Verdy p m (support the uselang parameter) |
||
Line 96: | Line 96: | ||
-- 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 = this.getLanguageSubpage() | local subpage = args['uselang'] or '' | ||
if (subpage == '') then | |||
subpage = this.getLanguageSubpage() | |||
end | |||
if (subpage == '') | if (subpage == '') | ||
then | then |