API:Allredirects/zh

GET request to list all redirects. All filters available with this API affect the redirect targets and not the redirect sources.

该模块可用作. When used as a generator, the titles used for the generator are from the redirect sources instead of the redirect targets, unless the  parameter is used.



The,   and   input parameters filter by the target redirect title without namespace. A namespace must not be added to those parameters, otherwise the API returns an  error. This means those parameters effectively filter titles in the main namespace, unless a different namespace is selected by the  parameter, which would affect titles in that namespace.

-{zh-hans:示例; zh-hant:範例;}-


回应
Both the title and namespace returned refer to the redirect target and not the redirect itself.





其他说明

 * Namespaces and their numbers can be obtained at.



參見

 * - List all redirects to a given page(s).