Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
list=protectedtitles (pt)
- За овој модул се потребни права на читање.
- Овој модул може да се користи како создавач.
- Извор: MediaWiki
- Лиценца: GPL-2.0+
List all titles protected from creation.
Параметри:
- ptnamespace
Only list titles in these namespaces.
- Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- ptlevel
Only list titles with these protection levels.
- Вредности (одделете ги со |): autoconfirmed, sysop
- ptlimit
How many total pages to return.
- Не се допушта повеќе од 500 (5.000 за ботови).
- Тип: цел број или max
- По основно: 10
- ptdir
Во која насока да се набројува:
- понови
- Прво најстарите. Напомена: ptstart мора да биде пред ptend.
- постари
- Прво најновите (по основно). Напомена: ptstart мора да биде подоцна од ptend.
- Една вредност: newer, older
- По основно: older
- ptstart
Start listing at this protection timestamp.
- Тип: време и датум (допуштени формати)
- ptend
Stop listing at this protection timestamp.
- Тип: време и датум (допуштени формати)
- 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.
- Вредности (одделете ги со |): timestamp, user, userid, comment, parsedcomment, expiry, level
- По основно: timestamp|level
- ptcontinue
Употребете го ова за да продолжите кога има повеќе расположиви ставки.
Примери:
- List protected titles.
- api.php?action=query&list=protectedtitles [open in sandbox]
- Find links to protected titles in the main namespace.
- api.php?action=query&generator=protectedtitles&gptnamespace=0&prop=linkshere [open in sandbox]