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
Diese Seite ist eine lokale Kopie aus de.wikipedia.org und von dort zu aktualisieren.

Versionsbezeichnung auf WikiData: 2019-11-12T14:21:31+00:00


local ISO15924 = { suite  = "ISO15924",
                   sub    = "codes",
                   serial = "2019-11-12T14:21:31+00:00",
                   item   = 71840276,
                   main   = 71584769 }
--[=[
ISO 15924 mw.loadData() with a snapshot of codes
]=]
local Failsafe = ISO15924


ISO15924.cjk = {
Bopo = true,
Hanb = true,
Hang = true,
Hani = true,
Hans = true,
Hant = true,
Hira = true,
Jpan = true,
Kana = true,
Kore = true,
Nshu = true,
Yiii = true
}
ISO15924.iso639script = {
ab     = { "Cyrl", "Arab", "Latn" },
abq    = { "Cyrl" },
adx    = { "Tibt" },
ady    = { "Cyrl" },
agx    = { "Cyrl" },
ain    = { "Kana", "Latn" },
akk    = { "Xsux" },
am     = { "Ethi" },
ar     = { "Arab", "Syrc" },
arb    = { "Arab" },
arc    = { "Armi", "Nbat", "Palm", "Hebr" },
arz    = { "Arab" },
as     = { "Beng" },
av     = { "Cyrl" },
az     = { "Cyrl", "Arab", "Latn" },
ba     = { "Cyrl", "Latn" },
ban    = { "Bali", "Latn" },
bax    = { "Bamu" },
bbc    = { "Batk", "Latn" },
bcc    = { "Arab" },
be     = { "Cyrl" },
ber    = { "Tfng", "Arab", "Latn" },
bg     = { "Cyrl" },
bgn    = { "Arab" },
bgp    = { "Arab" },
bhn    = { "Syrc" },
bn     = { "Beng" },
bo     = { "Tibt" },
bod    = { "Tibt" },
bpy    = { "Beng" },
bqi    = { "Arab" },
bs     = { "Latn", "Cyrl" },
btk    = { "Batk" },
bug    = { "Latn", "Bugi" },
bxr    = { "Cyrl" },
cdo    = { "Bopo", "Hans", "Hant" },
ce     = { "Cyrl" },
chg    = { "Arab" },
chm    = { "Cyrl" },
ckb    = { "Arab" },
ckt    = { "Cyrl" },
cop    = { "Copt", "Grek", "Arab" },
cu     = { "Cyrs", "Cyrl" },
cv     = { "Cyrl" },
dar    = { "Cyrl" },
dre    = { "Tibt" },
dv     = { "Thaa" },
dz     = { "Tibt" },
el     = { "Grek" },
elx    = { "Xsux" },
ett    = { "Ital" },
fa     = { "Arab" },
gez    = { "Ethi" },
glk    = { "Arab" },
gmy    = { "Linb" },
goe    = { "Tibt" },
gom    = { "Deva", "Latn", "Knda" },
got    = { "Goth" },
grc    = { "Grek", "Cprt", "Linb" },
gu     = { "Gujr" },
ha     = { "Latn", "Arab" },
hbo    = { "Hebr" },
he     = { "Hebr" },
hi     = { "Deva", "Latn", "Mahj" },
hit    = { "Xsux" },
hut    = { "Deva" },
hy     = { "Armn" },
ike    = { "Cans" },
inh    = { "Cyrl" },
ira    = { "Arab" },
iu     = { "Cans" },
ja     = { "Jpan", "Kana", "Hani", "Hira" },
jv     = { "Java" },
ka     = { "Geor", "Cyrl", "Geok" },
kbd    = { "Cyrl" },
kbg    = { "Tibt" },
kca    = { "Cyrl" },
khg    = { "Tibt" },
khw    = { "Arab" },
kjh    = { "Cyrl" },
kk     = { "Cyrl", "Arab" },
km     = { "Khmr" },
kn     = { "Knda" },
ko     = { "Hang", "Kore", "Hani" },
kok    = { "Deva", "Latn", "Knda" },
krc    = { "Cyrl" },
krl    = { "Latn", "Cyrl" },
ks     = { "Arab", "Deva" },
kte    = { "Tibt" },
ku     = { "Arab", "Cyrl", "Latn" },
kum    = { "Cyrl", "Latn", "Arab" },
kv     = { "Cyrl" },
ky     = { "Cyrl", "Arab", "Latn" },
lbe    = { "Cyrl" },
lbj    = { "Tibt" },
lez    = { "Cyrl" },
lhm    = { "Tibt" },
lki    = { "Arab" },
lo     = { "Laoo" },
loy    = { "Tibt" },
lrc    = { "Arab" },
luk    = { "Tibt" },
luz    = { "Arab" },
lya    = { "Tibt" },
mai    = { "Deva", "Tirh" },
mak    = { "Latn", "Bugi" },
mdf    = { "Cyrl" },
mhr    = { "Cyrl" },
mk     = { "Cyrl" },
ml     = { "Mlym" },
mn     = { "Cyrl", "Mong", "Phag" },
mns    = { "Cyrl" },
mo     = { "Cyrl" },
mr     = { "Deva", "Modi" },
mrj    = { "Cyrl" },
muk    = { "Telu" },
my     = { "Mymr" },
myv    = { "Cyrl" },
mzn    = { "Arab" },
nan    = { "Hans" },
ne     = { "Deva" },
nog    = { "Cyrl" },
non    = { "Runr" },
oge    = { "Geok" },
ola    = { "Tibt" },
["or"] = { "Orya" },
os     = { "Cyrl" },
osc    = { "Ital" },
ota    = { "Arab" },
otb    = { "Tibt" },
pa     = { "Arab", "Guru" },
pal    = { "Phli", "Phlp" },
peo    = { "Xpeo" },
pi     = { "Sinh", "Latn", "Mymr" },
pnb    = { "Arab" },
ps     = { "Arab" },
ru     = { "Cyrl" },
rut    = { "Cyrl" },
sa     = { "Deva", "Sinh", "Gran", "Shrd", "Sidd" },
sah    = { "Cyrl" },
sam    = { "Samr", "Hebr" },
saz    = { "Saur" },
sd     = { "Arab", "Deva", "Khoj", "Sind" },
sdh    = { "Arab" },
shi    = { "Tfng", "Latn" },
si     = { "Sinh" },
sr     = { "Cyrl", "Latn" },
su     = { "Latn", "Sund" },
sux    = { "Xsux" },
syc    = { "Syrc" },
syr    = { "Syrc" },
ta     = { "Taml" },
tab    = { "Cyrl" },
tai    = { "Thai" },
tcn    = { "Tibt" },
te     = { "Telu" },
tg     = { "Cyrl", "Arab" },
th     = { "Thai" },
thw    = { "Tibt" },
ti     = { "Ethi" },
tig    = { "Ethi" },
tl     = { "Latn", "Tglg" },
tmh    = { "Latn", "Tfng", "Arab" },
tsd    = { "Grek" },
tsk    = { "Tibt" },
tt     = { "Cyrl" },
tts    = { "Thai" },
tut    = { "Cyrl" },
tyv    = { "Cyrl" },
tzm    = { "Tfng", "Arab", "Latn" },
udm    = { "Cyrl" },
ug     = { "Arab", "Cyrl", "Latn" },
uga    = { "Ugar" },
uk     = { "Cyrl" },
ur     = { "Arab" },
uz     = { "Cyrl", "Arab", "Latn" },
xal    = { "Cyrl" },
xct    = { "Tibt" },
xeb    = { "Xsux" },
xht    = { "Xsux" },
xhu    = { "Xsux" },
xlu    = { "Xsux" },
xum    = { "Ital" },
xve    = { "Ital" },
ydd    = { "Hebr" },
yi     = { "Hebr" },
yrk    = { "Cyrl" },
zau    = { "Tibt" },
zgh    = { "Tfng", "Arab", "Latn" },
zh     = { "Bopo", "Hanb", "Hans", "Hant", "Phag" }
}
ISO15924.reverse = {
{ 0x00041, 0x0005A, { "Latn" } },
{ 0x00061, 0x0007A, { "Latn" } },
{ 0x000C0, 0x00221, { "Latn" } },
{ 0x00222, 0x00223, { "Grek", "Latn" } },
{ 0x00224, 0x002AF, { "Latn" } },
{ 0x002B0, 0x002FF, { "Latn" } },
{ 0x00363, 0x0036F, { "Latn" } },
{ 0x00370, 0x003E1, { "Grek" } },
{ 0x003E2, 0x003EF, { "Copt" } },
{ 0x003F0, 0x003FF, { "Grek" } },
{ 0x00400, 0x0052F, { "Cyrl" } },
{ 0x00531, 0x0058F, { "Armn" } },
{ 0x00591, 0x005F4, { "Hebr" } },
{ 0x00600, 0x006FF, { "Arab" } },
{ 0x00700, 0x0074F, { "Syrc" } },
{ 0x00750, 0x0077F, { "Arab" } },
{ 0x00780, 0x007B1, { "Thaa" } },
{ 0x00800, 0x0083F, { "Samr" } },
{ 0x008A0, 0x008FF, { "Arab" } },
{ 0x00900, 0x0097F, { "Deva" } },
{ 0x00980, 0x009FB, { "Beng" } },
{ 0x00A01, 0x00A75, { "Guru" } },
{ 0x00A81, 0x00AF9, { "Gujr" } },
{ 0x00B01, 0x00B77, { "Orya" } },
{ 0x00B82, 0x00BFA, { "Taml" } },
{ 0x00C00, 0x00C7F, { "Telu" } },
{ 0x00C81, 0x00CF2, { "Knda" } },
{ 0x00D01, 0x00D7F, { "Mlym" } },
{ 0x00D82, 0x00DF4, { "Sinh" } },
{ 0x00E01, 0x00E5B, { "Thai" } },
{ 0x00E81, 0x00EDF, { "Laoo" } },
{ 0x00F00, 0x00FDA, { "Tibt" } },
{ 0x01000, 0x0109F, { "Mymr" } },
{ 0x010A0, 0x010FF, { "Geor" } },
{ 0x01100, 0x011FF, { "Hang", "Kore" } },
{ 0x01200, 0x01399, { "Ethi" } },
{ 0x01400, 0x0167F, { "Cans" } },
{ 0x01680, 0x0169C, { "Ogam" } },
{ 0x016A0, 0x016F8, { "Runr" } },
{ 0x01700, 0x01714, { "Tglg" } },
{ 0x01780, 0x017F9, { "Khmr" } },
{ 0x01800, 0x018AA, { "Mong" } },
{ 0x018B0, 0x018FF, { "Cans" } },
{ 0x019E0, 0x019FF, { "Khmr" } },
{ 0x01A00, 0x01A1F, { "Bugi" } },
{ 0x01B00, 0x01B7C, { "Bali" } },
{ 0x01B80, 0x01BBF, { "Sund" } },
{ 0x01BC0, 0x01BFF, { "Batk" } },
{ 0x01CC0, 0x01CC7, { "Sund" } },
{ 0x01D00, 0x01DBF, { "Latn" } },
{ 0x01DD3, 0x01DF4, { "Latn" } },
{ 0x01E00, 0x01EFF, { "Latn" } },
{ 0x01F00, 0x01FFE, { "Grek" } },
{ 0x02090, 0x0209C, { "Latn" } },
{ 0x0249C, 0x024E9, { "Latn" } },
{ 0x02C00, 0x02C5E, { "Glag" } },
{ 0x02C60, 0x02C7F, { "Latn" } },
{ 0x02C80, 0x02CFF, { "Copt" } },
{ 0x02D00, 0x02D2D, { "Geok" } },
{ 0x02D30, 0x02D7F, { "Tfng" } },
{ 0x02D80, 0x02DDE, { "Ethi" } },
{ 0x02DE0, 0x02DFF, { "Cyrl" } },
{ 0x02F00, 0x02FD5, { "Hanb", "Hant" } },
{ 0x03021, 0x03029, { "Hanb", "Hant" } },
{ 0x0302E, 0x0302F, { "Kore" } },
{ 0x03041, 0x03098, { "Hira", "Hrkt", "Jpan" } },
{ 0x03099, 0x0309F, { "Hira", "Hrkt", "Jpan", "Kana" } },
{ 0x030A0, 0x030FF, { "Hrkt", "Jpan", "Kana" } },
{ 0x03105, 0x0312D, { "Bopo", "Hanb" } },
{ 0x03131, 0x0318E, { "Hang", "Kore" } },
{ 0x031A0, 0x031BA, { "Bopo", "Hanb" } },
{ 0x031F0, 0x031FF, { "Hrkt", "Jpan", "Kana" } },
{ 0x03200, 0x0321E, { "Kore" } },
{ 0x032D0, 0x032FE, { "Hrkt", "Jpan", "Kana" } },
{ 0x03400, 0x04DBF, { "Hanb", "Hani", "Hans" } },
{ 0x04E00, 0x09FC6, { "Hanb", "Hani", "Hans" } },
{ 0x09FC7, 0x09FD5, { "Hanb", "Hans" } },
{ 0x0A640, 0x0A69F, { "Cyrl" } },
{ 0x0A6A0, 0x0A6F7, { "Bamu" } },
{ 0x0A700, 0x0A721, { "Hanb", "Hans" } },
{ 0x0A800, 0x0A82F, { "Sylo" } },
{ 0x0A840, 0x0A877, { "Phag" } },
{ 0x0A880, 0x0A8D9, { "Saur" } },
{ 0x0A8E0, 0x0A8FD, { "Deva" } },
{ 0x0A980, 0x0A9DF, { "Java" } },
{ 0x0A9E0, 0x0A9FE, { "Mymr" } },
{ 0x0AA60, 0x0AA7F, { "Mymr" } },
{ 0x0AB01, 0x0AB2E, { "Ethi" } },
{ 0x0AB30, 0x0AB5A, { "Latn" } },
{ 0x0AB60, 0x0AB64, { "Latn" } },
{ 0x0AB65, 0x0AB65, { "Grek" } },
{ 0x0AC00, 0x0D7A3, { "Hang", "Kore" } },
{ 0x0D7B0, 0x0D7FB, { "Hang", "Kore" } },
{ 0x0FB00, 0x0FB06, { "Latn" } },
{ 0x0FB13, 0x0FB17, { "Armn" } },
{ 0x0FB1D, 0x0FB4F, { "Hebr" } },
{ 0x0FB50, 0x0FDFB, { "Arab" } },
{ 0x0FDFD, 0x0FDFD, { "Arab" } },
{ 0x0FE70, 0x0FEFC, { "Arab" } },
{ 0x0FF65, 0x0FF6F, { "Hrkt", "Jpan", "Kana" } },
{ 0x0FF70, 0x0FF70, { "Hira", "Hrkt", "Jpan", "Kana" } },
{ 0x0FF71, 0x0FF9F, { "Hrkt", "Jpan", "Kana" } },
{ 0x0FFA0, 0x0FFDC, { "Kore" } },
{ 0x10000, 0x1013F, { "Linb" } },
{ 0x10300, 0x1032F, { "Ital" } },
{ 0x10330, 0x1034A, { "Goth" } },
{ 0x10380, 0x1039F, { "Ugar" } },
{ 0x103A0, 0x103D5, { "Xpeo" } },
{ 0x10480, 0x104A9, { "Osma" } },
{ 0x10600, 0x10767, { "Lina" } },
{ 0x10800, 0x1083F, { "Cprt" } },
{ 0x10840, 0x1085F, { "Armi" } },
{ 0x10860, 0x1087F, { "Palm" } },
{ 0x10880, 0x108AF, { "Nbat" } },
{ 0x10900, 0x1091F, { "Phnx" } },
{ 0x10B40, 0x10B5F, { "Prti" } },
{ 0x10B60, 0x10B7F, { "Phli" } },
{ 0x10B80, 0x10BAF, { "Phlp" } },
{ 0x11150, 0x11176, { "Mahj" } },
{ 0x11180, 0x111DF, { "Shrd" } },
{ 0x11200, 0x1123D, { "Khoj" } },
{ 0x112B0, 0x112F9, { "Sind" } },
{ 0x11300, 0x11374, { "Gran" } },
{ 0x11480, 0x114D9, { "Tirh" } },
{ 0x11580, 0x115DD, { "Sidd" } },
{ 0x11600, 0x11659, { "Modi" } },
{ 0x11680, 0x116C9, { "Takr" } },
{ 0x12000, 0x12543, { "Xsux" } },
{ 0x16B00, 0x16B7F, { "Hmng" } },
{ 0x1B000, 0x1B000, { "Hrkt", "Jpan", "Kana" } },
{ 0x1B001, 0x1B001, { "Hira", "Hrkt", "Jpan" } },
{ 0x1F200, 0x1F200, { "Hira", "Hrkt", "Jpan" } },
{ 0x1F201, 0x1F202, { "Hrkt", "Jpan", "Kana" } },
{ 0x1F210, 0x1F212, { "Hanb", "Hans" } },
{ 0x1F213, 0x1F213, { "Hrkt", "Jpan", "Kana" } },
{ 0x1F214, 0x1F23A, { "Hanb", "Hans" } },
{ 0x20000, 0x2A6DF, { "Hanb", "Hani", "Hant" } },
{ 0x2A700, 0x2B734, { "Hanb", "Hani", "Hant" } },
{ 0x2B740, 0x2B81D, { "Hanb", "Hani", "Hant" } },
{ 0x2B820, 0x2CEA1, { "Hanb", "Hani", "Hant" } }
}
ISO15924.rtl = {
Arab = true,
Armi = true,
Avst = true,
Brah = true,
Egyh = true,
Hebr = true,
Nbat = true,
Orkh = true,
Palm = true,
Phli = true,
Phlp = true,
Phlv = true,
Phnx = true,
Samr = true,
Syrc = true,
Thaa = true
}
ISO15924.trans = {
Arab = { "ISO233", "DMG", "BAHAI" },
Armn = { "DIN32706" },
Beng = { "IAST", "ISO15919" },
Cyrl = { "ISO9", "ISO9-R", "GOST7.79-2000A", "GOST7.79-2000B", "GOST16876-71", "DIN1460", "DIN1460-2", "DE-WISS" },
Deva = { "ISO15919", "DIN33904" },
Geor = { "ISO9984", "DIN32707" },
Grek = { "DIN31634" },
Gujr = { "ISO15919" },
Guru = { "ISO15919" },
Hebr = { "DIN31636", "ISO259", "ISO259-1", "ISO259-2" },
Knda = { "ISO15919" },
Mlym = { "ISO15919" },
Orya = { "ISO15919" },
Sinh = { "ISO15919" },
Taml = { "ISO15919", "DIN33903" },
Telu = { "ISO15919" },
Thai = { "RTGS" },
Tibt = { "WYLIE", "THL", "ZWPY" },
as     = { "IAST" },
bn     = { "IAST" },
bo     = { "WYLIE", "THL", "ZWPY" },
fa     = { "ISO233-3" },
gu     = { "IAST" },
hi     = { "IAST" },
ja     = { "DIN32708" },
kn     = { "IAST" },
ko     = { "MCR", "RR" },
kok    = { "IAST" },
ks     = { "IAST" },
mai    = { "IAST" },
ml     = { "IAST" },
mr     = { "IAST" },
ne     = { "IAST" },
["or"] = { "IAST" },
ota    = { "IA" },
pa     = { "IAST" },
sa     = { "IAST" },
sd     = { "IAST" },
ta     = { "IAST" },
te     = { "IAST" },
tr     = { "IA" },
ug     = { "YENGI" },
ur     = { "IAST" },
yi     = { "YIVO", "DIN31636", "ISO259-3", "RUYI" },
zh     = { "ISO7098" }
}
ISO15924.unicodes = {
["*"]  = { { 0x8, 0x40 },
         { 0x5B, 0x60 },
         { 0x7B, 0xBF },
         { 0x1AB0, 0x1ABE },
         { 0x1DC0, 0x1DD2 },
         { 0x1DF5, 0x1DFF },
         { 0x2000, 0x200A },
         { 0x200B, 0x200D },
         { 0x200E, 0x200F },
         { 0x2010, 0x2029 },
         { 0x202A, 0x202E },
         { 0x202F, 0x2064 },
         { 0x2066, 0x2069 },
         { 0x206A, 0x208E },
         { 0x20A0, 0x249B },
         { 0x24EA, 0x27FF },
         { 0x2900, 0x2BEF },
         { 0x2E00, 0x2E42 },
         { 0x3008, 0x3020 },
         { 0xAB5B, 0xAB5F },
         { 0xFDFC, 0xFDFD },
         { 0xFE00, 0xFE6B },
         { 0xFEFF, 0xFEFF } },
Arab = { { 0x600, 0x6FF },
         { 0x750, 0x77F },
         { 0x8A0, 0x8FF },
         { 0xFB50, 0xFDFB },
         { 0xFDFD, 0xFDFD },
         { 0xFE70, 0xFEFC } },
Armi = { { 0x10840, 0x1085F } },
Armn = { { 0x531, 0x58F },
         { 0xFB13, 0xFB17 },
         { 0xFB13, 0xFB17 } },
Bali = { { 0x1B00, 0x1B7C } },
Bamu = { { 0xA6A0, 0xA6F7 } },
Batk = { { 0x1BC0, 0x1BFF } },
Beng = { { 0x980, 0x9FB } },
Bopo = { { 0x3105, 0x312D },
         { 0x31A0, 0x31BA } },
Bugi = { { 0x1A00, 0x1A1F } },
Cans = { { 0x1400, 0x167F },
         { 0x18B0, 0x18FF } },
Copt = { { 0x3E2, 0x3EF },
         { 0x2C80, 0x2CFF } },
Cprt = { { 0x10800, 0x1083F } },
Cyrl = { { 0x400, 0x52F },
         { 0x2DE0, 0x2DFF },
         { 0xA640, 0xA69F } },
Deva = { { 0x900, 0x97F },
         { 0xA8E0, 0xA8FD } },
Ethi = { { 0x1200, 0x1399 },
         { 0x2D80, 0x2DDE },
         { 0xAB01, 0xAB2E } },
Geok = { { 0x2D00, 0x2D2D } },
Geor = { { 0x10A0, 0x10FF } },
Glag = { { 0x2C00, 0x2C5E } },
Goth = { { 0x10330, 0x1034A } },
Gran = { { 0x11300, 0x11374 } },
Grek = { { 0x222, 0x223 },
         { 0x370, 0x3E1 },
         { 0x3F0, 0x3FF },
         { 0x1F00, 0x1FFE },
         { 0xAB65, 0xAB65 } },
Gujr = { { 0xA81, 0xAF9 } },
Guru = { { 0xA01, 0xA75 } },
Hanb = { },
Hang = { { 0x1100, 0x11FF },
         { 0x3131, 0x318E },
         { 0xAC00, 0xD7A3 },
         { 0xD7B0, 0xD7FB } },
Hani = { { 0x4E00, 0x9FC6 },
         { 0x3400, 0x4DBF },
         { 0x20000, 0x2A6DF },
         { 0x2A700, 0x2B734 },
         { 0x2B740, 0x2B81D },
         { 0x2B820, 0x2CEA1 } },
Hans = { { 0x3400, 0x4DBF },
         { 0x4E00, 0x9FD5 },
         { 0xA700, 0xA721 },
         { 0x1F210, 0x1F212 },
         { 0x1F214, 0x1F23A } },
Hant = { { 0x2F00, 0x2FD5 },
         { 0x3021, 0x3029 },
         { 0x20000, 0x2A6DF },
         { 0x2A700, 0x2B734 },
         { 0x2B740, 0x2B81D },
         { 0x2B820, 0x2CEA1 } },
Hebr = { { 0x591, 0x5F4 },
         { 0xFB1D, 0xFB4F } },
Hira = { { 0x3041, 0x309F },
         { 0xFF70, 0xFF70 },
         { 0x1B001, 0x1B001 },
         { 0x1F200, 0x1F200 } },
Hmng = { { 0x16B00, 0x16B7F } },
Hrkt = { },
Ital = { { 0x10300, 0x1032F } },
Java = { { 0xA980, 0xA9DF } },
Jpan = { },
Kana = { { 0x3099, 0x30FF },
         { 0x31F0, 0x31FF },
         { 0x32D0, 0x32FE },
         { 0xFF65, 0xFF9F },
         { 0x1B000, 0x1B000 },
         { 0x1F201, 0x1F202 },
         { 0x1F213, 0x1F213 } },
Khmr = { { 0x1780, 0x17F9 },
         { 0x19E0, 0x19FF } },
Khoj = { { 0x11200, 0x1123D } },
Knda = { { 0xC81, 0xCF2 } },
Kore = { { 0x1100, 0x11FF },
         { 0x302E, 0x302F },
         { 0x3131, 0x318E },
         { 0x3200, 0x321E },
         { 0xAC00, 0xD7A3 },
         { 0xD7B0, 0xD7FB },
         { 0xFFA0, 0xFFDC } },
Laoo = { { 0xE81, 0xEDF } },
Latn = { { 0x41, 0x5A },
         { 0x61, 0x7A },
         { 0xC0, 0x2AF },
         { 0x2B0, 0x2FF },
         { 0x363, 0x36F },
         { 0x1D00, 0x1DBF },
         { 0x1DD3, 0x1DF4 },
         { 0x1E00, 0x1EFF },
         { 0x2090, 0x209C },
         { 0x249C, 0x24E9 },
         { 0x2C60, 0x2C7F },
         { 0xAB30, 0xAB5A },
         { 0xAB60, 0xAB64 },
         { 0xFB00, 0xFB06 } },
Lina = { { 0x10600, 0x10767 } },
Linb = { { 0x10000, 0x1013F } },
Mahj = { { 0x11150, 0x11176 } },
Mlym = { { 0xD01, 0xD7F } },
Modi = { { 0x11600, 0x11659 } },
Mong = { { 0x1800, 0x18AA } },
Mymr = { { 0x1000, 0x109F },
         { 0xA9E0, 0xA9FE },
         { 0xAA60, 0xAA7F } },
Nbat = { { 0x10880, 0x108AF } },
Ogam = { { 0x1680, 0x169C } },
Orya = { { 0xB01, 0xB77 } },
Osma = { { 0x10480, 0x104A9 } },
Palm = { { 0x10860, 0x1087F } },
Phag = { { 0xA840, 0xA877 } },
Phli = { { 0x10B60, 0x10B7F } },
Phlp = { { 0x10B80, 0x10BAF } },
Phnx = { { 0x10900, 0x1091F } },
Prti = { { 0x10B40, 0x10B5F } },
Runr = { { 0x16A0, 0x16F8 } },
Samr = { { 0x800, 0x83F } },
Saur = { { 0xA880, 0xA8D9 } },
Shrd = { { 0x11180, 0x111DF } },
Sidd = { { 0x11580, 0x115DD } },
Sind = { { 0x112B0, 0x112F9 } },
Sinh = { { 0xD82, 0xDF4 } },
Sund = { { 0x1B80, 0x1BBF },
         { 0x1CC0, 0x1CC7 } },
Sylo = { { 0xA800, 0xA82F } },
Syrc = { { 0x700, 0x74F } },
Takr = { { 0x11680, 0x116C9 } },
Taml = { { 0xB82, 0xBFA } },
Telu = { { 0xC00, 0xC7F } },
Tfng = { { 0x2D30, 0x2D7F } },
Tglg = { { 0x1700, 0x1714 } },
Thaa = { { 0x780, 0x7B1 } },
Thai = { { 0xE01, 0xE5B } },
Tibt = { { 0xF00, 0xFDA } },
Tirh = { { 0x11480, 0x114D9 } },
Ugar = { { 0x10380, 0x1039F } },
Xpeo = { { 0x103A0, 0x103D5 } },
Xsux = { { 0x12000, 0x12543 } },
bidi = { { 0x200E, 0x200F },
         { 0x202A, 0x202E },
         { 0x2066, 0x2069 } },
cjk  = { { 0x2E80, 0x2EF3 },
         { 0x2FF0, 0x3007 },
         { 0x302A, 0x302D },
         { 0x32C0, 0x32CB },
         { 0xF900, 0xFAD9 },
         { 0xFF01, 0xFFFD },
         { 0x1F214, 0x1F251 } },
zero = { { 0x200B, 0x200D } }
}

local fresh = function ()
    -- Check for global update
    -- Returns: true, if matching global version; false, if not
    local r
    if mw.title.getCurrentTitle().namespace > 0  and
       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
if mw.title.getCurrentTitle().namespace > 0 then
    ISO15924.last = fresh()
end
return ISO15924