MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=allfileusages (af)
- Denna modul kräver läsrättigheter.
- Denna modul kan användas som en generator.
- Source: MediaWiki
- License: GPL-2.0+
Lista all fil användningsområden, inklusive icke-existerande.
Parametrar:
- afcontinue
When more results are available, use this to continue.
- affrom
The title of the file to start enumerating from.
- afto
The title of the file to stop enumerating at.
- afprefix
Sök för all fil-titlar som börjar med detta värde.
- afunique
Only show distinct file titles. Cannot be used with afprop=ids. When used as a generator, yields target pages instead of source pages.
- Type: boolean (details)
- afprop
Which pieces of information to include:
- ids
- Adds the page IDs of the using pages (cannot be used with afunique).
- title
- Adds the title of the file.
- Värden (separerade med | eller alternativ): ids, title
- Default: title
- aflimit
Hur många saker att returnera totalt.
- Inte mer än 500 (5 000 för robotar) tillåts.
- Type: integer or max
- Default: 10
- afdir
Riktningen att lista mot.
- Ett av följande värden: ascending, descending
- Default: ascending
- afnocache
- (no description)
- Type: boolean (details)
- afprop_append
- (no description)
- Type: boolean (details)
Examples:
- List file titles, including missing ones, with page IDs they are from, starting at B.
- api.php?action=query&list=allfileusages&affrom=B&afprop=ids|title [open in sandbox]
- Lista unika filtitlar
- api.php?action=query&list=allfileusages&afunique=&affrom=B [open in sandbox]
- Hämtar alla fil titlar, markerar dem saknade.
- api.php?action=query&generator=allfileusages&gafunique=&gaffrom=B [open in sandbox]
- Hämtar sidor som innehåller filerna.
- api.php?action=query&generator=allfileusages&gaffrom=B [open in sandbox]