Modul:MediaWikiGadgetDefinition: Unterschied zwischen den Versionen

Die Seite wurde neu angelegt: „local MediaWikiGadgetDefinition = { suite = "MediaWikiGadgetDefinition", serial = "2024-03-03", item = 111520596 } --[==[ Documentation, validation and comparison of MediaWiki gadget definitions ]==] local Failsafe = MediaWikiGadgetDefinition local GlobalMod = MediaWikiGadgetDefinition local ACTIVE = { } local COMMONS = { } local ERROR = { } local GLOBAL = { } l…“
 
Test
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 462: Zeile 462:
             local lucky, data
             local lucky, data
             storage = string.format( "%s.tab", storage )
             storage = string.format( "%s.tab", storage )
             lucky, data = pcall( mw.ext.data.get, storage )
             --lucky, data = pcall( mw.ext.data.get, storage )
             if type( data ) == "table" then
             if type( data ) == "table" then
                 data = data.data
                 data = data.data
Zeile 1.900: Zeile 1.900:
                 r = suited
                 r = suited
             else
             else
                 local entity = mw.wikibase.getEntity( suited )
                 --local entity = mw.wikibase.getEntity( suited )
                 if type( entity ) == "table" then
                 if type( entity ) == "table" then
                     local seek = Failsafe.serialProperty or "P348"
                     local seek = Failsafe.serialProperty or "P348"