API:Pageprops
| 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[edit]
ppcontinue: When more results are available, use this to continue.ppprop: Page prop to look on the page for. Useful for checking whether a certain page uses a certain page prop.
Example[edit]
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[edit]
None
See also[edit]
- API:pageswithprop – list all pages using a given page property.
- API:pagepropnames – list all page property names in use on the wiki