API:Alllinks

Returns a list of (unique) links to pages in a given namespace starting ordered by link title.

Parameters

 * : Used to continue a previous request
 * : Start listing at this title. The title need not exist
 * : Only list links to titles that begin with this value
 * : The namespace to enumerate. You can only enumerate one namespace at a time. By default, the main namespace will be enumerated
 * : If set, multiple links to the same title will be listed only once. It cannot be used with . When used as a generator, yields target pages instead of source pages. Before MW 1.21 (40559) it couldn't be used in generator mode.
 * : Maximum amount of links to list (10 by default)
 * : Which properties to return
 * : Page IDs of the linking pages. Cannot be used together with
 * : Link titles (default)

Error Codes

 * code: alparams
 * info: alllinks cannot be used as a generator in unique links mode
 * code: alparams
 * info: alllinks cannot return corresponding page ids in unique links mode
 * This happens when you use  and   together
 * code: alparams
 * info: alcontinue and alfrom cannot be used together