API:Random

random / rn
Get a list of random pages.

Pages are listed in a fixed sequence, only the starting point is random.

This means that if, for example, "Main Page" is the first random page on your list, "List of fictional monkeys" will always be second, "List of people on stamps of Vanuatu" third, etc.

Parameters
Maximum number of pages to return (1 by default)

You will not get the same page twice. Only list pages in these namespaces Only list redirects
 * If the number of pages in the namespace is lower than, you will get fewer pages.


 * By default, only non-redirects are listed

Possible errors
None