Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=ab_linkshere (ablh)
- Ten moduł wymaga praw odczytu.
- Źródło: Advanced Backlinks
- Licencja: GPL-2.0-or-later
Find all pages that link to the given pages with through-transclusion information.
Parametry:
- ablhprop
Which properties to get:
- pageid
- (bez opisu)
- title
- (bez opisu)
- through
- (bez opisu)
- redirect
- (bez opisu)
- Wartości (oddziel za pomocą | lub alternatywy): pageid, redirect, through, title
- Domyślnie: pageid|title|through|redirect
- ablhnamespace
Only include pages in these namespaces:
- Wartości (oddziel za pomocą | lub alternatywy): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 102, 103, 106, 107, 108, 109, 112, 113, 114, 115, 2300, 2301, 2302, 2303, 9002, 9003, 9800, 9801, 9802, 9803, 9804, 9805
- Aby wskazać wszystkie wartości, użyj *.
- ablhshow
Show only items that meet these criteria:
- redirect
- Only show redirects.
- !redirect
- Only show non-redirects.
- direct
- Only show direct (wikitext) links.
- !direct
- Only show indirect links.
- Wartości (oddziel za pomocą | lub alternatywy): !direct, !redirect, direct, redirect
- ablhlimit
How many to return:
- Type: integer or max
- Wartość musi znajdować się pomiędzy 1 a 500.
- Domyślnie: 10
- ablhcontinue
Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.
Przykłady:
- ⧼apihelp-query+ab_linkshere-example-simple⧽
- api.php?action=query&prop=ab_linkshere&titles=Main%20Page [otwórz w brudnopisie]
- ⧼apihelp-query+ab_linkshere-example-generator⧽
- api.php?action=query&generator=ab_linkshere&titles=Main%20Page&prop=info [otwórz w brudnopisie]