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
prop=pageprops (pp)
- This module requires read rights.
- Lähde: MediaWiki
- Lisenssi: GPL-2.0-or-later
Get various page properties defined in the page content.
Parametrit:
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).
esimerkki:
- Get properties for the pages Etusivu and MediaWiki.
- api.php?action=query&prop=pageprops&titles=Etusivu|MediaWiki [avaa hiekkalaatikossa]