MediaWiki API hulp

This is an auto-generated MediaWiki API documentation page.

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

prop=extracts (ex)

(main | query | extracts)
  • Voor deze module zijn leesrechten nodig.
  • Bron: TextExtracts
  • Licentie: GPL-2.0-or-later

Returns plain-text or limited HTML extracts of the given pages.

Parameters:
exchars

How many characters to return. Actual text returned might be slightly longer.

De waarde moeten zich tussen 1 en 1.200 bevinden.
Type: geheel getal
exsentences

How many sentences to return.

De waarde moeten zich tussen 1 en 10 bevinden.
Type: geheel getal
exlimit

How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.)

Niet meer dan 20 (20 voor bots) toegestaan.
Type: geheel getal of max
Standaard: 20
exintro

Return only content before the first section.

Type: boolean (details)
explaintext

Return extracts as plain text instead of limited HTML.

Type: boolean (details)
exsectionformat

How to format sections in plaintext mode:

plain
No formatting.
wiki
Wikitext-style formatting (== like this ==).
raw
This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).
Een van de volgende waarden: plain, wiki, raw
Standaard: wiki
excontinue

When more results are available, use this to continue.

Type: geheel getal