API:Links/zh

GET request to find all the links on the provided page(s).

该模块可用作.



Example 1: Fetch all the links in a page


回应


Example 2: Fetch missing links
Get request to fetch missing or red links on Wikipedia:Most-wanted_articles. Two steps to do so:


 * Make a  request to the Action API to return all links embedded on the provided page.
 * From further extraction, obtain those links that are missing and don't yet exist on English Wikipedia.



回应


示例代码


参数历史

 * v1.19: 启用
 * v1.17: 启用
 * v1.13: 启用 ,



參見

 * - submodule that finds pages which include a link to the given page.
 * - submodule that gets a list of pages which link to a given page.
 * - Find interwiki links on a given page (i.e, meta pages, special pages).
 * - Get a list of pages which are linked from a given interwiki link.
 * - Find all external links on a given page.
 * - Get all pages that link to an external URL.
 * - Get a list of language links from the given page. Language links represent translations.
 * - Get a list of pages that contains a given language link.