Modul:ISO15924/pages
Vorlagenprogrammierung | Diskussionen | Lua | Test | Unterseiten | |||
Modul | Deutsch | English
|
Modul: | Dokumentation |
Diese Seite enthält Code in der Programmiersprache Lua. Einbindungszahl Cirrus
Weiterleitung der Diskussionsseite fehlt
local ISO15924 = { suite = "ISO15924",
sub = "pages",
serial = "2019-10-20",
item = 71839070,
main = 71584769 }
--[=[
Create ISO 15924 mw.loadData() to provide target articles anywhere
]=]
local Failsafe = ISO15924
ISO15924.pages = {
{ site = "dewiki",
server = "de.wikipedia",
lang = "de",
targets = { Afak = "Afaka-Schrift",
Aghb = "Kaukasische Sprachen#AlwanischSchrift",
Ahom = "Ahom (Sprache)",
Arab = "Arabische Schrift",
Aran = "Nastaʿlīq",
Armi = "Reichsaramäisch",
Armn = "Armenisches Alphabet",
Avst = "Avestische Schrift",
Bali = "Balinesische Schrift",
Bamu = "Bamun-Schrift",
Bass = "Bassa-Schrift",
Batk = "Batak (Schrift)",
Beng = "Bengalische Schrift",
Blis = "Bliss-Symbol",
Bopo = "Zhuyin",
Brah = "Brahmi-Schrift",
Brai = "Brailleschrift",
Bugi = "Lontara",
Buhd = "Buid-Schrift",
Cakm = "Chakma-Schrift",
Cans = "Kanadische Silbenschrift",
Cari = "Karische Sprache#Schrift",
Cham = "Cham-Schrift",
Cher = "Cherokee-Silbenschrift",
Copt = "Koptische Schrift",
Cpmn = "Minoische Sprache",
Cprt = "Kyprische Schrift",
Cyrl = "Kyrillisches Alphabet",
Cyrs = "Altkyrillisches Alphabet",
Deva = "Devanagari",
Dsrt = "Deseret-Alphabet",
Egyd = "Demotische Schrift",
Egyh = "Hieratische Schrift",
Egyp = "ägyptische Hieroglyphen",
Elym = "Elymais",
Ethi = "Äthiopische Schrift",
Geok = "Chutsuri",
Geor = "Georgisches Alphabet",
Glag = "Glagolitische Schrift",
Gong = "Gondi",
Gonm = "Gondi",
Goth = "Gotisches Alphabet",
Gran = "Grantha-Schrift",
Grek = "Griechisches Alphabet",
Gujr = "Gujarati-Schrift",
Guru = "Gurmukhi-Schrift",
Hang = "Koreanisches Alphabet",
Hani = "Kanji",
Hano = "Hanunó'o",
Hans = "Kurzzeichen",
Hant = "Langzeichen",
Hebr = "Hebräisches Alphabet",
Hira = "Hiragana",
Hluw = "Luwische Sprache",
Hmng = "Pahawh Hmong",
Hung = "Altungarische Schrift",
Inds = "Indus-Schrift",
Ital = "Altitalisches Alphabet",
Jamo = "Jamo",
Java = "Javanische Sprache#Schrift",
Jpan = "Japanische Schrift",
Jurc = "Jurchen",
Kali = "Karenische Sprachen",
Kana = "Katakana",
Khar = "Kharoshthi-Schrift",
Khmr = "Khmer-Schrift",
Khoj = "Khojki-Schrift",
Kitl = "Kitan-Schrift",
Kits = "Kitan-Schrift",
Knda = "Kannada-Schrift",
Kore = "Koreanisches Alphabet",
Kpel = "Kpelle-Schrift",
Kthi = "Kaithi-Schrift",
Lana = "Lanna (Schrift)",
Laoo = "Laotische Sprache#Schrift",
Latf = "Fraktur (Schrift)",
Latg = "Irische Schrift",
Latn = "Lateinisches Alphabet",
Lepc = "Lepcha-Schrift",
Limb = "Limbu-Schrift",
Lina = "Linearschrift A",
Linb = "Linearschrift B",
Lisu = "Lisu",
Loma = "Loma (Sprache)",
Lyci = "Lykische Sprache",
Lydi = "Lydische Sprache",
Mahj = "Gujarati-Schrift",
Mand = "Mandäische Schrift",
Mani = "Mittelpersische Sprache",
Maya = "Maya-Schrift",
Medf = "Medefaidrin",
Mend = "Mende-Schrift",
Merc = "Meroitische Schrift",
Mero = "Meroitische Schrift",
Mlym = "Malayalam-Schrift",
Modi = "Moḍī",
Mong = "Mongolische Schrift",
Moon = "Moonalphabet",
Mtei = "Meitei",
Mult = "Panjabi",
Mymr = "Birmanische Schrift",
Nand = "Nagari-Schrift",
Nbat = "Nabatäische Schrift",
Newa = "Newari",
Nkgb = "Naxi",
Nkoo = "N’Ko",
Nshu = "Frauenschrift",
Ogam = "Ogham",
Olck = "Ol Chiki",
Orkh = "Orchon-Runen",
Orya = "Oriya-Schrift",
Osge = "Osage",
Osma = "Osmaniya-Schrift",
Palm = "Palmyrenisches Aramäisch",
Perm = "Altpermische Schrift",
Phag = "Phagpa-Schrift",
Phli = "Mittelpersische Sprache",
Phli = "Parthische Sprache",
Phlp = "Mittelpersische Sprache",
Phlv = "Mittelpersische Sprache",
Phnx = "Phönizische Schrift",
Piqd = "Klingonische Sprache",
Plrd = "Pollard-Schrift",
Prti = "Parthische Sprache",
Rjng = "Rejang-Schrift",
Rohg = "Rohingya",
Roro = "Rongorongo",
Runr = "Runen",
Samr = "Samaritanische Schrift",
Sara = "Sarati",
Saur = "Saurashtri",
Sgnw = "Gebärdenschrift",
Sidd = "Siddham",
Sind = "Sindhi",
Sinh = "Singhalesische Schrift",
Sogd = "Sogdische Sprache",
Sogo = "Sogdische Sprache",
Soyo = "Sojombo-Schrift",
Sund = "Sundanesische Sprache #Schrift",
Sylo = "Sylheti Nagari",
Syre = "Syrisches Alphabet",
Syrj = "Syrisches Alphabet",
Syrn = "Syrisches Alphabet",
Syrc = "Syrisches Alphabet",
Tagb = "Tagbanuwa-Schrift",
Tale = "Tai Nüa",
Talu = "Tai Lü",
Taml = "Tamilische Schrift",
Tang = "Xixia-Schrift",
Tavt = "Vietnamesische Schrift",
Telu = "Telugu-Schrift",
Teng = "Tengwar und Certar",
Tfng = "Tifinagh-Schrift",
Tglg = "Baybayin",
Thaa = "Thaana-Alphabet",
Thai = "Thailändische Schrift",
Tibt = "Tibetische Schrift",
Tirh = "Mithilakshar",
Ugar = "Ugaritische Schrift",
Vaii = "Vai-Schrift",
Visp = "Visible Speech",
Wcho = "Konyak-Naga-Sprachen",
Wole = "Woleaianische Sprache",
Xpeo = "persische Keilschrift",
Xsux = "Keilschrift",
Yiii = "Yi (Schrift)",
Zsye = "Emoji"
}
}
}
local fresh = function ()
-- Check for global update
-- Returns: true, if matching global version; false, if not
-- 2019-10-15
local r
if type( Failsafe.item ) == "number" and Failsafe.item > 0 then
local storage = string.format( "Q%d", Failsafe.item )
local entity = mw.wikibase.getEntity( storage )
if type( entity ) == "table" then
local seek = Failsafe.serialProperty or "P348"
local vsn = entity:formatPropertyValues( seek )
if type( vsn ) == "table" and
vsn.value == Failsafe.serial then
r = true
end
end
end
return r or false
end -- fresh()
ISO15924.failsafe = ISO15924.serial
ISO15924.last = fresh()
return ISO15924