local p =
function p.countDates(frame) local args = frame:getParent.args local i = 1 while true do local oldid = args['oldid' .. i] or if oldid
function p.showDates(frame) local args = frame:getParent.args local i = 1 local ret = local page = mw.title.getCurrentTitle.text local fmt = '%s' if not args.demo then fmt = fmt .. '' end local lang = mw.getContentLanguage
while true do local date = args['date' .. i] or local oldid = args['oldid' .. i] or if oldid
i = #ret if i > 1 then ret[i] = 'and ' .. ret[i] end return table.concat(ret, i > 2 and ', ' or ' ')end
return p