Module:DYK

local d = {} local lang = mw.language.getContentLanguage local result = {}

function d.random local z = require('Module:DYK/a') local p1 = math.random( lang:formatDate("n"), #z ) local p2 = math.random( lang:formatDate("W"), #z ) local p3 = math.random( lang:formatDate("z"), #z ) local y1 = z[p1] local y2 = z[p2] local y3 = z[p3] table.insert(result, ''.. y1 ..''.. y2 ..''.. y3 ..'') return table.concat(result, '') end

return d