「モジュール:Lang/data」の版間の差分

It makes no sense to use the spelling "Koinē" when our article uses "Koine".
(1版 をインポートしました)
bsd>Theknightwho
(It makes no sense to use the spelling "Koinē" when our article uses "Koine".)
9行目: 9行目:
script -> ISO 15924 script tags
script -> ISO 15924 script tags
region -> ISO 3166 region tags
region -> ISO 3166 region tags
variant -> iana registered variant tags
variant -> IANA registered variant tags
suppressed -> map of scripts tags and their associated language tags
suppressed -> map of scripts tags and their associated language tags
88行目: 88行目:
use the override table to override language names that are incorrect for your project
use the override table to override language names that are incorrect for your project


To see the list of names that MediaWiki has for your language, enter this in the Debug colsole:
To see the list of names that MediaWiki has for your language, enter this in the Debug console:
=mw.dumpObject (mw.language.fetchLanguageNames ('<tag>', 'all'))
=mw.dumpObject (mw.language.fetchLanguageNames ('<tag>', 'all'))
(replacing <tag> with the language tag for your language)
(replacing <tag> with the language tag for your language)
102行目: 102行目:
for tag, name in pairs (mw_languages_by_tag_t) do -- loop through each tag/name pair in the MediaWiki list
for tag, name in pairs (mw_languages_by_tag_t) do -- loop through each tag/name pair in the MediaWiki list
if lang_name_table_t.lang[tag] then -- if the tag is in the main list
if lang_name_table_t.lang[tag] then -- if the tag is in the main list
lang_name_table_t.lang[tag] = name; -- overwrite exisiting name with the name from MediaWiki
lang_name_table_t.lang[tag] = name; -- overwrite existing name with the name from MediaWiki
end
end
end
end
133行目: 133行目:
["en-us"] = "American English",
["en-us"] = "American English",
["en-za"] = "South African English",
["en-za"] = "South African English",
["fr-ca"] = "Quebec French",
["fr-ca"] = "Canadian French",
["fr-gallo"] = "Gallo",
["fr-gallo"] = "Gallo",
["fy"] = "West Frisian", -- Western Frisian
["fy"] = "West Frisian", -- Western Frisian
233行目: 233行目:
['qwm'] = "Cuman", -- Kuman (Russia); to match en.wiki article name
['qwm'] = "Cuman", -- Kuman (Russia); to match en.wiki article name
["rop"] = "Australian Kriol", -- Kriol; en.wiki article is a dab; point to correct en.wiki article
["rop"] = "Australian Kriol", -- Kriol; en.wiki article is a dab; point to correct en.wiki article
["rsk"] = "Pannonian Rusyn", -- Ruthenian; en.wiki preferred name
["sco-ulster"] = "Ulster Scots",
["sco-ulster"] = "Ulster Scots",
["sdo"] = "Bukar–Sadong", -- Bukar-Sadung Bidayuh; to match en.wiki article title
["sdo"] = "Bukar–Sadong", -- Bukar-Sadung Bidayuh; to match en.wiki article title
332行目: 333行目:
["akk-x-oldbabyl"] = "Old Babylonian Akkadian",
["akk-x-oldbabyl"] = "Old Babylonian Akkadian",
["alg-x-proto"] = "Proto-Algonquian", -- alg in IANA is Algonquian languages
["alg-x-proto"] = "Proto-Algonquian", -- alg in IANA is Algonquian languages
["art-x-uropi"] = "Uropi", -- art in IANA is Artificial languages
["ast-x-west"] = "Western Asturian",
["ca-x-old"] = "Old Catalan",
["ca-x-old"] = "Old Catalan",
["cel-x-combrit"] = "Common Brittonic", -- cel in IANA is Celtic languages
["cel-x-combrit"] = "Common Brittonic", -- cel in IANA is Celtic languages
["cel-x-proto"] = "Proto-Celtic",
["cel-x-proto"] = "Proto-Celtic",
["ccs-x-proto"] = "Proto-Kartvelian", -- ccs in IANA is Kartvelian languages
["egy-x-demotic"] = "Demotic Egyptian",
["egy-x-demotic"] = "Demotic Egyptian",
["egy-x-late"] = "Late Egyptian",
["egy-x-late"] = "Late Egyptian",
["egy-x-middle"] = "Middle Egyptian",
["egy-x-middle"] = "Middle Egyptian",
["egy-x-old"] = "Old Egyptian",
["egy-x-old"] = "Old Egyptian",
["et-x-seto"] = "Seto", -- to replace {{Lang-est-sea}}
["fiu-x-proto"] = "Proto-Finno-Ugric", -- fiu in IANA is Finno-Ugric languages
["fr-x-frainc"] = "Franc-Comtois", -- to replace {{Lang-fra-frc}}
["fr-x-quebec"] = "Quebec French",
["gem-x-proto"] = "Proto-Germanic", -- gem in IANA is Germanic languages
["gem-x-proto"] = "Proto-Germanic", -- gem in IANA is Germanic languages
["gmq-x-proto"] = "Proto-Norse",
["gmw-x-ecg"] = "East Central German",
["gmw-x-ecg"] = "East Central German",
["gmw-x-proto"] = "Proto-West Germanic",
["grc-x-aeolic"] = "Aeolic Greek", -- these grc-x-... codes are preferred alternates to the non-standard catchall code grc-gre
["grc-x-aeolic"] = "Aeolic Greek", -- these grc-x-... codes are preferred alternates to the non-standard catchall code grc-gre
["grc-x-arcadcyp"] = "Arcadocypriot Greek",
["grc-x-arcadcyp"] = "Arcadocypriot Greek",
350行目: 360行目:
["grc-x-hellen"] = "Hellenistic Greek",
["grc-x-hellen"] = "Hellenistic Greek",
["grc-x-ionic"] = "Ionic Greek",
["grc-x-ionic"] = "Ionic Greek",
["grc-x-koine"] = "Koinē Greek",
["grc-x-koine"] = "Koine Greek",
["grc-x-medieval"] = "Medieval Greek",
["grc-x-medieval"] = "Medieval Greek",
["grc-x-pamph"] = "Pamphylian Greek",
["grc-x-patris"] = "Patristic Greek",
["grc-x-patris"] = "Patristic Greek",
["grk-x-proto"] = "Proto-Greek", -- grk in IANA is Greek languages
["grk-x-proto"] = "Proto-Greek", -- grk in IANA is Greek languages
362行目: 373行目:
["itc-x-proto"] = "Proto-Italic", -- itc in IANA is Italic languages
["itc-x-proto"] = "Proto-Italic", -- itc in IANA is Italic languages
["ksh-x-colog"] = "Colognian", -- en.wiki article is Colognian; ksh (Kölsch) redirects there
["ksh-x-colog"] = "Colognian", -- en.wiki article is Colognian; ksh (Kölsch) redirects there
["la-x-church"] = "Ecclesiastical Latin",
["la-x-classic"] = "Classical Latin",
["la-x-late"] = "Late Latin",
["la-x-medieval"] = "Medieval Latin",
["la-x-medieval"] = "Medieval Latin",
["la-x-new"] = "New Latin",
["la-x-new"] = "New Latin",
["la-x-old"] = "Old Latin",
["la-x-ren"] = "Renaissance Latin",
["la-x-vulgar"] = "Vulgar Latin",
["lmo-x-berg"] = "Bergamasque", -- lmo in IANA is Lombard; Bergamasque is a dialect
["lmo-x-berg"] = "Bergamasque", -- lmo in IANA is Lombard; Bergamasque is a dialect
["lmo-x-cremish"] = "Cremish", -- lmo in IANA is Lombard; Cremish is a dialect
["lmo-x-cremish"] = "Cremish", -- lmo in IANA is Lombard; Cremish is a dialect
369行目: 386行目:
["mis-x-ripuar"] = "Ripuarian", -- replaces improper use of ksh in wp_languages
["mis-x-ripuar"] = "Ripuarian", -- replaces improper use of ksh in wp_languages
["prg-x-old"] = "Old Prussian",
["prg-x-old"] = "Old Prussian",
["roa-x-proto"] = "Proto-Romance",
["sem-x-ammonite"] = "Ammonite",
["sem-x-ammonite"] = "Ammonite",
["sem-x-aramaic"] = "Aramaic",
["sem-x-aramaic"] = "Aramaic",
379行目: 397行目:
["sem-x-proto"] = "Proto-Semitic",
["sem-x-proto"] = "Proto-Semitic",
["sem-x-taymanit"] = "Taymanitic",
["sem-x-taymanit"] = "Taymanitic",
["smi-x-proto"] = "Proto-Samic", -- smi in IANA is Samic languages
["sla-x-proto"] = "Proto-Slavic", -- sla in IANA is Slavic languages
["sla-x-proto"] = "Proto-Slavic", -- sla in IANA is Slavic languages
["sq-x-proto"] = "Proto-Albanian",
["trk-x-oldanat"] = "Old Anatolian Turkish", -- to replace {{Lang-1ca}}
["urj-x-proto"] = "Proto-Uralic", -- urj in IANA is Uralic languages
["yuf-x-hav"] = "Havasupai", -- IANA name for these three is Havasupai-Walapai-Yavapai
["yuf-x-hav"] = "Havasupai", -- IANA name for these three is Havasupai-Walapai-Yavapai
["yuf-x-wal"] = "Walapai",
["yuf-x-wal"] = "Walapai",
386行目: 408行目:
["xsc-x-saka"] = "Saka",
["xsc-x-saka"] = "Saka",
["xsc-x-sarmat"] = "Sarmatian",
["xsc-x-sarmat"] = "Sarmatian",
["zle-x-ruthenia"] = "Ruthenian", -- zle in IANA is East Slavic languages collective; moved to allow rsk for Pannonian Rusyn
}
}


434行目: 457行目:
by some of the {{lang-??}} templates.
by some of the {{lang-??}} templates.


These tables are more-or-less copied directly from {{transl}}. The standard 'NO_STD' is a construct to allow for
These tables are more-or-less copied directly from {{special|PermaLink/680078354}}. The standard 'NO_STD' is a construct to allow for
the cases when no |std= parameter value is provided.
the cases when no |std= parameter value is provided.


匿名利用者