p= {} p.listPages = function(frame) local page = frame.args[1] local archive = "" for i = 1,200 do if mw.title.new( page..""..i, '0' ).exists == true then archive = archive.."[["..page..""..i.."|"..i.."]] • " end end return archive end return p