Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=langbacklinks (lbl)
- Mô đun này cần quyền đọc.
- This module can be used as a generator.
- 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.
Các tham số:
- 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
Tổng cộng có bao nhiêu trang được trả về.
- Type: integer or max
- The value must be between 1 and 500.
- Mặc định: 10
- lblprop
Which properties to get:
- lllang
- Adds the language code of the language link.
- lltitle
- Adds the title of the language link.
- Values (separate with | or alternative): lllang, lltitle
- Mặc định: (trống)
- lbldir
The direction in which to list.
- One of the following values: ascending, descending
- Mặc định: ascending
Các ví dụ:
- 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]