Ajuda API da MediaWiki

Esta é uma página de documentação API do MediaWiki gerada automaticamente.

Documentação e exemplos: https://www.mediawiki.org/wiki/API

list=random (rn)

(main | query | random)
  • This module requires read rights.
  • This module can be used as a generator.
  • Fonte: MediaWiki
  • Licença: GPL-2.0+

Get a set 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 in the list, List of fictional monkeys will always be second, List of people on stamps of Vanuatu third, etc.

Parâmetros:
rnnamespace

Return pages in these namespaces only.

Valores (separar com |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110, 111
rnfilterredir

Como filtrar por redirecionamentos.

Um dos seguintes valores: all, redirects, nonredirects
Padrão: nonredirects
rnredirect
Obsoleto.

Use rnfilterredir=redirects instead.

Tipo: boolean (detalhes)
rnlimit

Limit how many random pages will be returned.

No more than 500 (5 000 for bots) allowed.
Tipo: inteiro ou max
Padrão: 1
rncontinue

When more results are available, use this to continue.