Jump to content

API:Pageprops

From mediawiki.org
Revision as of 17:59, 20 July 2015 by SPage (WMF) (talk | contribs) (See also related API)

Get various properties defined in the page content.

Parameters

  • 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

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

[[Category:MediaWiki APITemplate:Translation]]