MediaWiki API hulp

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=description (desc)

(main | query | description)
  • Deze module is voor intern gebruik of nog niet stabiel. De functionaliteit kan zonder enige voorafgaande melding wijzigen.
  • Voor deze module zijn leesrechten nodig.
  • Bron: WikibaseClient
  • Licentie: GPL-2.0-or-later

Get a short description a.k.a. subtitle explaining what the target page is about.

The description is plain text, on a single line, but otherwise arbitrary (potentially including raw HTML tags, which also should be interpreted as plain text). It must not be used in HTML unescaped!

Parameters:
desccontinue

When more results are available, use this to continue.

Type: integer
Standaard: 0
descprefersource

Which description source to prefer if present:

local
Local descriptions via {{SHORTDESC:...}} parser function in the wikitext of the page.
central
Central descriptions from the associated Kunstmuseum API item.
Een van de volgende waarden: central, local
Standaard: local
Voorbeelden:
Get the description for the page 'London'.
api.php?action=query&prop=description&titles=London [open in de zandbak]
Get the description for the page 'London', preferring the central description if it exists.
api.php?action=query&prop=description&titles=London&descprefersource=central [open in de zandbak]