Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

list=allfileusages (af)

(main | query | allfileusages)
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all file usages, including non-existing.

Параметри:
afcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

affrom

The title of the file to start enumerating from.

afto

The title of the file to stop enumerating at.

afprefix

Search for all file titles that begin with this value.

afunique

Only show distinct file titles. Cannot be used with afprop=ids. When used as a generator, yields target pages instead of source pages.

Тип: булов (подробно)
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.
Вредности (одделете ги со |): ids, title
По основно: title
aflimit

How many total items to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
afdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
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]
List unique file titles.
api.php?action=query&list=allfileusages&afunique=&affrom=B [open in sandbox]
Gets all file titles, marking the missing ones.
api.php?action=query&generator=allfileusages&gafunique=&gaffrom=B [open in sandbox]
Gets pages containing the files.
api.php?action=query&generator=allfileusages&gaffrom=B [open in sandbox]