Hyperzlib
Created page with "local p = {} local function loadConfig(titleText) local title = mw.title.new(titleText) if (not title.exists and title.contentModel ~= "json") then return nil end local content = title:getContent() return mw.text.jsonDecode(content) end local function getDayConfig(conf, frame) -- Detect by date first. local currentDate = frame:callParserFunction("#timel", "n-j") dayConfig = conf[currentDate] if (dayConfig ~= nil) then -- Output tile for current date retur..."