API:Backlinks/zh

GET request to list pages which link to a certain page.

示例代码
get_backlinks.py

重定向
在上面的示例中，仅会返回指向哲学页面的直接链接. When  is set, the response will include any pages which backlink to redirects for the value in.

These redirected backlinks are treated as separate groups within the response hierarchy, one level down from the redirect itself.

The limit set in  applies separately to each level of the response, so   would return up to 25 direct backlinks, and up to 25 backlinks within each individual redirect.

In addition, using  when a redirect was in the response will return more second-level backlinks, before finally moving on to more direct backlinks, once all the backlinks for a redirect have been returned in full.

参见

 * - finds all pages that link to a given page. Note that, unlike API:Backlinks, which is a module, API:Linkshere is a  module. See the respective pages on  and  for how these two kinds of modules differ.
 * - a  module that finds all pages that transclude (i.e. embed information from) the given pages.
 * - a  module which lists backlinks via transclusion, similar to Special:Whatlinkshere.
 * - lists pages that use the given image(s).
 * - lists pages that use the given file(s).