Module:Lang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 157: Line 157:
code = source:match ('^(%a%a%a?)$');
code = source:match ('^(%a%a%a?)$');


elseif source:match ('^1%a+$') then -- special case for Linguist list identifiers
elseif source:match ('^1%a+$') then -- special case for two Linguist list identifiers in Module:Lang/data override table
code = source:match ('^(1%a%a)$');
code = source:match ('^(1%a%a)$'); -- these may need tweaks in future if other alphanumeric Linguist list identifiers are added


else
else