API:Categorymembers

Prefix: cm Required Rights: None POST Only? No  List all pages in a given category

Parameters

 * continue – For large categories, give the value retured from previous query . Type: string
 * dir – In which direction to sort.
 * Type: one of asc, desc

NOTE: Due to $wgMiserMode, using this may result in fewer than "limit" results returned before continuing; in extreme cases, zero results may be returned. Type: namespace ids       - Adds the page id title      - Adds the title and namespace id of the page sortkey   - Adds the sortkey used for the category timestamp - Adds the timestamp of when the page was included.
 * end – Timestamp to end listing at. Can only be used with cmsort=timestamp . Type: timestamp
 * endsortkey – Sortkey to end listing at. Can only be used with cmsort=sortkey . Type: string
 * limit – The maximum number of pages to return. . Type: limit
 * namespace – Only include pages in these namespaces
 * prop – What pieces of information to include
 * Type: one of ids, title, sortkey, timestamp


 * sort – Property to sort by.
 * Type: one of sortkey, timestamp


 * start – Timestamp to start listing from. Can only be used with cmsort=timestamp . Type: timestamp
 * startsortkey – Sortkey to start listing from. Can only be used with cmsort=sortkey . Type: string
 * title (required) – Which category to enumerate (required). Must include Category: prefix . Type: string

Errors Codes

 * badcontinue – Invalid continue param. You should pass the original value returned by the previous query.
 * invalidcategory – The category name you entered is not valid.
 * invalidtitle – Bad title ``key''.
 * invalidtitle – Bad title ``title''.
 * notitle – The cmtitle parameter is required.
 * notitle – The title parameter must be set.
 * readapidenied – You need read permission to use this module.