Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag

list=alltransclusions (at)

(main | query | alltransclusions)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł może być użyty jako generator.
  • Źródło: MediaWiki
  • Licencja: GPL-2.0-or-later

Lista wszystkich transkluzji (stron osadzonych przy użyciu {{x}}), łącznie z nieistniejącymi.

Parametry:
atcontinue

Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.

atfrom

The title of the transclusion to start enumerating from.

atto

The title of the transclusion to stop enumerating at.

atprefix

Search for all transcluded titles that begin with this value.

atunique

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

Type: boolean (details)
atprop

Jakie informacje dołączyć:

ids
Adds the page ID of the transcluding page (cannot be used with atunique).
title
Dodaje tytuł osadzenia.
Wartości (oddziel za pomocą | lub alternatywy): ids, title
Default: title
atnamespace

Przestrzeń nazw, z której wymieniać.

Jedna z następujących wartości: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 120, 121, 122, 123, 124, 125, 460, 461, 828, 829, 2300, 2301, 2302, 2303
Default: 10
atlimit

Łączna liczba elementów do zwrócenia.

Type: integer or max
The value must be between 1 and 500.
Default: 10
atdir

The direction in which to list.

Jedna z następujących wartości: ascending, descending
Default: ascending
Przykłady:
List transcluded titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=alltransclusions&atfrom=B&atprop=ids|title [otwórz w brudnopisie]
List unique transcluded titles.
api.php?action=query&list=alltransclusions&atunique=&atfrom=B [otwórz w brudnopisie]
Gets all transcluded titles, marking the missing ones.
api.php?action=query&generator=alltransclusions&gatunique=&gatfrom=B [otwórz w brudnopisie]
Gets pages containing the transclusions.
api.php?action=query&generator=alltransclusions&gatfrom=B [otwórz w brudnopisie]