MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de

prop=extracts (ex)

(main | query | extracts)
  • Dieses Modul erfordert Leserechte.
  • Quelle: TextExtracts
  • Lizenz: Siehe Link

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

Parameter:
exchars

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

Der Wert darf nicht kleiner sein als 1.
Typ: Ganzzahl
exsentences

Wie viele Sätze zurückgegeben werden sollen.

Der Wert muss zwischen 1 und 10 sein.
Typ: Ganzzahl
exlimit

Wie viele Auszüge zurückgegeben werden sollen.

Nicht mehr als 20 (20 für Bots) erlaubt.
Typ: Ganzzahl oder max
Standard: 1
exintro

Return only content before the first section.

Typ: boolesch (Einzelheiten)
explaintext

Return extracts as plain text instead of limited HTML.

Typ: boolesch (Einzelheiten)
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>).
Einer der folgenden Werte: plain, wiki, raw
Standard: wiki
excontinue

Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden.

Typ: Ganzzahl
exvariant

Konvertiert Inhalt in seine Sprachvariante.