Module:Bongolium500/main page modules

local smwUtil = require('Module:SMW') local cache = require('mw.ext.LuaCache') local p = {} local h = {}

function p.birthdayModule(frame) local PREFIX = "MAINPAGEBIRTHDAY-" local currentDate = os.date("%F") local outputWidget = cache.get(PREFIX .. currentDate) or "" if outputWidget == "" then --get yesterday's date and clear its key local yesterday end end