Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=links (pl)
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸ÑполÑзован в каÑеÑÑве генеÑаÑоÑа.
- ÐÑÑоÑник: MediaWiki
- ÐиÑензиÑ: GPL-2.0+
Returns all links from the given pages.
ÐаÑамеÑÑÑ:
- plnamespace
Show links in these namespaces only.
- Values (separate with |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- pllimit
How many links to return.
- РазÑеÑено не более Ñем 500 (5000 Ð´Ð»Ñ Ð±Ð¾Ñов).
- Тип: Ñелое ÑиÑло или max
- Ðо ÑмолÑаниÑ: 10
- plcontinue
Ðогда доÑÑÑпно болÑÑе ÑезÑлÑÑаÑов, иÑполÑзоваÑÑ ÑÑÐ¾Ñ ÑÑÐ¾Ð±Ñ Ð¿ÑодолжиÑÑ.
- pltitles
Only list links to these titles. Useful for checking whether a certain page links to a certain title.
- РазделÑйÑе знаÑÐµÐ½Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ |. ÐакÑималÑное колиÑеÑÑво знаÑений должно бÑÑÑ 50 (500 Ð´Ð»Ñ Ð±Ð¾Ñов).
- pldir
The direction in which to list.
- One value: ascending, descending
- Ðо ÑмолÑаниÑ: ascending
ÐÑимеÑÑ:
- Get links from the page Main Page
- api.php?action=query&prop=links&titles=Main%20Page
- Get information about the link pages in the page Main Page.
- api.php?action=query&generator=links&titles=Main%20Page&prop=info
- Get links from the page Main Page in the УÑаÑÑник and Шаблон namespaces.
- api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10