From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎português • ‎português do Brasil • ‎română • ‎sicilianu • ‎русский • ‎հայերեն • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

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.

If the number of pages in the namespace is lower than rnlimit, you will get fewer pages. You will not get the same page twice.


  • rnlimit: Limit how many random pages will be returned. No more than 10 (20 for bots) allowed. (Default: 1)
  • rnnamespace: Only list pages in these namespaces. (Default: all namespaces)
  • rnredirect: Load a random redirect instead of a random page. (Default: false) 1.14+ (deprecated in 1.26)
  • rnfilterredir: How to filter for redirects. Possible values: all, redirects, nonredirects (Default: nonredirects) 1.26+


Get 5 random pages

Possible errors[edit]