API:Allpages

Returns a list of pages in a given namespace, ordered by page title.

Parameters

 * : Start listing at this title. The title may not exist
 * : Only list titles that start with this value
 * : The id of the namespace to enumerate (see API:Meta to get the list and the ids of the namespaces). You can only enumerate one namespace at a time. By default, the main namespace will be enumerated
 * : How to filter redirects
 * : List all pages regardless of their redirect flag (default)
 * : Only list redirects
 * : Don't list redirects
 * : How to filter based on whether a page has language links
 * : List all pages regardless of whether they have language links (default)
 * : Only list pages with language links
 * : Only list pages without language links
 * : Only list pages that are at least this many bytes in size
 * : Only list pages that are at most this many bytes in size
 * : Only list pages that have been protected from this type of action
 * : Only list edit-protected pages
 * : Only list move-protected pages
 * Other wikis may allow for more kinds of protection and will therefore provide more options here
 * : Only list pages that have been protected at this level. Cannot be used without
 * : Only autoconfirmed users can edit/move/whatever
 * : Only sysops can edit/move/whatever
 * Empty: Everyone can edit/move/whatever
 * Other wikis may allow protection on more levels and will therefore provide more options here
 * : Maximum amount of pages to list. Default 10, must be between 1 and 500.
 * : In which direction to list
 * : List from A to Z (default)
 * : List from Z to A

Error Codes

 * code: apparams
 * info: Use "gapfilterredir=nonredirects" option instead of "redirects" when using allpages as a generator
 * code: apparams
 * info: prlevel may not be used without prtype