יחידה:Citation/CS1: הבדלים בין גרסאות בדף
אין תקציר עריכה |
|||
| שורה 1,499: | שורה 1,499: | ||
end | end | ||
-- | -- our part | ||
if not is_set (name) then | if not is_set (name) then | ||
local langs = mw.language.fetchLanguageNames( "en" ) | local langs = mw.language.fetchLanguageNames( "en" ) | ||
| שורה 1,511: | שורה 1,511: | ||
end | end | ||
end | end | ||
-- | -- our part end | ||
if is_set (name) then -- if Language specified a valid ISO639-1 code | if is_set (name) then -- if Language specified a valid ISO639-1 code | ||
| שורה 1,519: | שורה 1,519: | ||
end | end | ||
-- | -- our part | ||
if name == 'נורבגית' | if name == 'נורבגית' | ||
then name = 'נורווגית' | then name = 'נורווגית' | ||
end | end | ||
-- | -- our part end | ||
if is_set (code) then | if is_set (code) then | ||
if 0 == namespace and 'he' ~= code then -- is this page main / article space and Hebrew not the language? | if 0 == namespace and 'he' ~= code then -- is this page main / article space and Hebrew not the language? | ||