API:Lists

Lists differ from properties in two aspects - instead of appending data to the elements in the  element. Also, list output is limited by number of items, and may be continued using the  element. Unless indicated otherwise, modules listed on this page can be used as generators.

Submodules

 * ''Browse all in a single page


 * allcategories
 * allfileusages
 * allimages
 * alllinks
 * allpages
 * allredirects
 * alltransclusions
 * allusers
 * backlinks
 * blocks
 * categorymembers
 * deletedrevs
 * embeddedin
 * exturlusage
 * filearchive
 * imageusage
 * iwbacklinks
 * langbacklinks
 * logevents
 * pagepropnames
 * pageswithprop
 * prefixsearch
 * protectedtitles
 * querypage
 * random
 * recentchanges
 * search
 * tags
 * usercontribs
 * users
 * watchlist
 * watchlistraw

Limits
All list queries return a limited number of results. This limit is 10 by default, and can be set as high as 500 for regular users, or 5000 for users with the  right (typically bots and sysops). The limit parameter for a given module consists of the module prefix followed by, so   is the maximum number of   returned, and   is the maximum number of   returned. Some modules impose stricter limits under certain conditions. If you're not sure which limit applies to you and just want as many results as possible, set the limit to. In that case, a  element will be returned, specifying the limits used.

Errors

If you set the limit to a value higher than the maximum, an error will be thrown, which looks like:

( can be replaced with any other module prefix; the   prefix corresponds to the   parameter)