Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

list=protectedtitles (pt)

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

Lista wszystkich tytułów zabezpieczonych przed tworzeniem.

Parametry:
ptnamespace

Listuj tylko strony z tych przestrzeni nazw.

Wartości (oddziel za pomocą |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110, 111
ptlevel

Only list titles with these protection levels.

Wartości (oddziel za pomocą |): autoconfirmed, sysop
ptlimit

Łączna liczba stron do zwrócenia.

Nie więcej niż 500 (5000 dla botów) dozwolone.
Type: integer or max
Domyślnie: 10
ptdir

In which direction to enumerate:

newer
List oldest first. Note: ptstart has to be before ptend.
older
List newest first (default). Note: ptstart has to be later than ptend.
Jedna z następujących wartość: newer, older
Domyślnie: older
ptstart

Start listing at this protection timestamp.

Typ: znacznik czasu (dozwolone formaty)
ptend

Stop listing at this protection timestamp.

Typ: znacznik czasu (dozwolone formaty)
ptprop

Which properties to get:

timestamp
Adds the timestamp of when protection was added.
user
Adds the user that added the protection.
userid
Adds the user ID that added the protection.
comment
Adds the comment for the protection.
parsedcomment
Adds the parsed comment for the protection.
expiry
Adds the timestamp of when the protection will be lifted.
level
Adds the protection level.
Wartości (oddziel za pomocą |): timestamp, user, userid, comment, parsedcomment, expiry, level
Domyślnie: timestamp|level
ptcontinue

When more results are available, use this to continue.