Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
list=langbacklinks (lbl)
- Modul ini memerlukan hak membaca.
- Modul ini boleh digunakan sebagai penjana.
- 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.
Parameter:
- 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.
- Asal: 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
- Asal: (kosong)
- lbldir
The direction in which to list.
- One of the following values: ascending, descending
- Asal: ascending
Contoh-contoh:
- 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]