Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.
Dokumentacja i przykÅady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag
prop=iwlinks (iw)
- Ten moduÅ wymaga praw odczytu.
- ŹródÅo: MediaWiki
- Licencja: GPL-2.0-or-later
WyÅwietla wszystkie linki interwiki z danych stron.
Parametry:
- iwprop
Which additional properties to get for each interlanguage link:
- url
- Dodaje peÅny adres URL.
- WartoÅci (oddziel za pomocÄ | lub alternatywy): url
- iwprefix
Only return interwiki links with this prefix.
- iwtitle
Interwiki link to search for. Must be used with iwprefix.
- iwdir
The direction in which to list.
- Jedna z nastÄpujÄ cych wartoÅci: ascending, descending
- Default: ascending
- iwlimit
ÅÄ czna liczba linków interwiki do zwrócenia.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- iwcontinue
Gdy bÄdzie dostÄpnych wiÄcej wyników, użyj tego do kontynuowania.
- iwurl
- PrzestarzaÅe.
Whether to get the full URL (cannot be used with iwprop).
- Type: boolean (details)
PrzykÅad:
- Get interwiki links from the page Main Page.
- api.php?action=query&prop=iwlinks&titles=Main%20Page [otwórz w brudnopisie]