Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
Zeile 1:
Zeile 1:
− +
Zeile 7:
Zeile 7:
+
+
Zeile 607:
Zeile 609:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Modul:ISO15924/codes (Quelltext anzeigen)
Version vom 23. Oktober 2019, 15:35 Uhr
, 15:35, 23. Okt. 20192019-10-23T13:31:15+00:00
local ISO15924 = { suite = "ISO15924",
local ISO15924 = { suite = "ISO15924",
sub = "codes",
sub = "codes",
serial = "2019-10-21T21:24:39+00:00",
serial = "2019-10-23T13:31:15+00:00",
item = 71840276,
item = 71840276,
main = 71584769 }
main = 71584769 }
ISO 15924 mw.loadData() with a snapshot of codes
ISO 15924 mw.loadData() with a snapshot of codes
]=]
]=]
local Failsafe = ISO15924
ISO15924.cjk = {
ISO15924.cjk = {
zero = { { 0x200B, 0x200D } }
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 = "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.failsafe = ISO15924.serial
ISO15924.last = fresh()
return ISO15924
return ISO15924