Module:Citation/CS1: Difference between revisions

bug fix in language_parameter();
m>Trappist the monk
(Synch from sandbox;)
m>Trappist the monk
(bug fix in language_parameter();)
Line 1: Line 1:


local cs1 ={};
local cs1 ={};
Line 1,150: Line 1,151:
code = lang:lower(); -- save it
code = lang:lower(); -- save it
else
else
name, code = get_iso639_code (lang); -- attempt to get code from name (assign name here so that we are sure of proper capitalization)
name, code = get_iso639_code (lang, this_wiki_code); -- attempt to get code from name (assign name here so that we are sure of proper capitalization)
end
end
Anonymous user