API:Pageprops
Appearance
Pageprops | ||
---|---|---|
Get various properties defined in the page content. This module cannot be used as a generator. | ||
Prefix | pp | |
Required rights | none | |
Post only? | No | |
Generated help | Current | |
Version added |
|
Get various properties defined in the page content.
Parameters
ppcontinue
: When more results are available, use this to continue- When the result is bigger than $wgAPIMaxResultSize
ppprop
: Page prop to look on the page for. Useful for checking whether a certain page uses a certain page prop.
Example
Get various properties defined in the page content
Result |
---|
<?xml version="1.0"?>
<api>
<query>
<pages>
<page pageid="323710" ns="0" title="MediaWiki">
<pageprops defaultsort="Mediawiki" page_image="MediaWiki-smaller-logo.png" wikibase_item="Q83" />
</page>
</pages>
</query>
</api>
|
Possible errors
None
See also
- API:pageswithprop – list all pages using a given page property.
- API:pagepropnames – list all page property names in use on the wiki
[[Category:MediaWiki APITemplate:Translation]]