Actions

Module:RandomPage

From Afghan Watan Encyclopedia

local p = {}

-- Function to fetch a random page function p.randomPage()

   -- Get a random page from the site
   local randomPage = mw.site:randomPage()
   return randomPage

end

return p