MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
list=alllinks (al)
- Dieses Modul erfordert Leserechte.
- Dieses Modul kann als Generator verwendet werden.
Enumerate all links that point to a given namespace.
Parameter:
- alcontinue
When more results are available, use this to continue.
- alfrom
The title of the link to start enumerating from.
- alto
The title of the link to stop enumerating at.
- alprefix
Search for all linked titles that begin with this value.
- alunique
Only show distinct linked titles. Cannot be used with alprop=ids. When used as a generator, yields target pages instead of source pages.
- alprop
Which pieces of information to include:
- ids
- Adds the page ID of the linking page (cannot be used with alunique).
- title
- Adds the title of the link.
- Werte (mit | trennen): ids, title
- Standard: title
- alnamespace
The namespace to enumerate.
- Ein Wert: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 118, 120, 121, 999
- Standard: 0
- allimit
How many total items to return.
- Nicht mehr als 500 (5.000 für Bots) erlaubt.
- Standard: 10
- aldir
The direction in which to list.
- Ein Wert: ascending, descending
- Standard: ascending
Beispiele:
- List linked titles, including missing ones, with page IDs they are from, starting at B.
- api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title
- Einheitlich verlinkte Titel auflisten
- api.php?action=query&list=alllinks&alunique=&alfrom=B
- Gets all linked titles, marking the missing ones.
- api.php?action=query&generator=alllinks&galunique=&galfrom=B
- Gets pages containing the links.
- api.php?action=query&generator=alllinks&galfrom=B