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_fileusage (abfu)
- Ten moduł wymaga praw odczytu.
- Źródło: Advanced Backlinks
- Licencja: GPL-2.0-or-later
Find all pages that use the given files with through-transclusion information.
Parametry:
- abfuprop
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
- abfunamespace
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 *.
- abfushow
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
- abfulimit
How many to return:
- Type: integer or max
- Wartość musi znajdować się pomiędzy 1 a 500.
- Domyślnie: 10
- abfucontinue
Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.
Przykłady:
- ⧼apihelp-query+ab_fileusage-example-simple⧽
- api.php?action=query&prop=ab_fileusage&titles=File%3AExample.jpg [otwórz w brudnopisie]
- ⧼apihelp-query+ab_fileusage-example-generator⧽
- api.php?action=query&generator=ab_fileusage&titles=File%3AExample.jpg&prop=info [otwórz w brudnopisie]