MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=allpages (ap)

(main | query | allpages)
  • Denna modul kräver läsrättigheter.
  • Denna modul kan användas som en generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Enumerate all pages sequentially in a given namespace.

Parametrar:
Other general parameters are available.
apfrom

The page title to start enumerating from.

apcontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

apto

The page title to stop enumerating at.

apprefix

Sök efter alla sidtitlar som börjar med detta värde.

apnamespace

The namespace to enumerate.

Ett av följande värden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Standard: 0
apfilterredir

Vilka sidor att lista.

Ett av följande värden: all, nonredirects, redirects
Standard: all
apfilterlanglinks

Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.

Ett av följande värden: all, withlanglinks, withoutlanglinks
Standard: all
apminsize

Begränsa till sidor med detta antal byte eller fler.

Typ: heltal
apmaxsize

Begränsa till sidor med högst så här många byte.

Typ: heltal
apprtype

Begränsa till endast skyddade sidor.

Värden (separerade med | eller alternativ): edit, move, upload
apprlevel

Filter protections based on protection level (must be used with apprtype= parameter).

Värden (separerade med | eller alternativ): Kan vara tom, eller autoconfirmed, sysop
apprfiltercascade

Filter protections based on cascadingness (ignored when apprtype isn't set).

Ett av följande värden: all, cascading, noncascading
Standard: all
apprexpiry

Which protection expiry to filter the page on:

indefinite
Get only pages with indefinite protection expiry.
definite
Get only pages with a definite (specific) protection expiry.
all
Get pages with any protections expiry.
Ett av följande värden: all, definite, indefinite
Standard: all
aplimit

Hur många sidor att returnera totalt.

Type: integer or max
Värdet får inte ligga mellan 1 och 500.
Standard: 10
apdir

Riktningen att lista mot.

Ett av följande värden: ascending, descending
Standard: ascending