Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
prop=pageprops (pp)
- This module requires read rights.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
Get various page properties defined in the page content.
Специфични параметри:
Other general parameters are available.
- ppcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- ppprop
Only list these page properties (action=query&list=pagepropnames returns page property names in use). Useful for checking whether pages use a certain page property.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Пример:
- Get properties for the pages Главна страна and MediaWiki.
- api.php?action=query&prop=pageprops&titles=%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%20%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0|MediaWiki [open in sandbox]