Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=langbacklinks (lbl)
- This module requires read rights.
- Този модул може да се използва като генератор.
- Source: MediaWiki
- License: GPL-2.0-or-later
Find all pages that link to the given language link.
Can be used to find all links with a language code, or all links to a title (with a given language). Using neither parameter is effectively "all language links".
Note that this may not consider language links added by extensions.
Parameters:
- lbllang
Language for the language link.
- lbltitle
Language link to search for. Must be used with lbllang.
- lblcontinue
When more results are available, use this to continue.
- lbllimit
How many total pages to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- lblprop
Which properties to get:
- lllang
- Adds the language code of the language link.
- lltitle
- Adds the title of the language link.
- Стойности (разделени с | или алтернативния разделител): lllang, lltitle
- По подразбиране: (празно)
- lbldir
The direction in which to list.
- Една от следните стойности: ascending, descending
- Default: ascending
Примери:
- Get pages linking to fr:Test.
- api.php?action=query&list=langbacklinks&lbltitle=Test&lbllang=fr [open in sandbox]
- Get information about pages linking to fr:Test.
- api.php?action=query&generator=langbacklinks&glbltitle=Test&glbllang=fr&prop=info [open in sandbox]