API:Random/da

Få en liste over tilfældige sider.

This module can be used as a.

Sample code
get_random.py

Parameterhistorik

 * v1.26: Deprecated
 * v1.26: Introduced
 * v1.14: Introduced

Yderligere bemærkninger

 * Unlike most modules in the, the default number of pages returned is 1, not 10.
 * Pages are returned in a fixed sequence; only the starting point is actually random.
 * The default behavior is to pick pages from across the entire wiki, including talk pages, user pages, and so on. If you are looking for similar functionality as Special:Random, i.e. pick random articles, restrict  to.
 * If the number of pages is fewer than, the request will simply return all available pages. It will not repeat pages to pad out the response up to the limit.

Se også

 * - describes how to configure the API on the backend.