MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

command=createentry

(main | readinglists | createentry)
  • Dieses Modul ist intern oder instabil. Seine Operationen werden ohne Kenntnisnahme geändert.
  • Dieses Modul erfordert Leserechte.
  • Dieses Modul erfordert Schreibrechte.
  • Dieses Modul akzeptiert nur POST-Anfragen.
  • Quelle: ReadingLists
  • Lizenz: GPL-2.0-or-later

Fügt eine neue Seite einer Liste hinzu, die dem aktuellen Benutzer gehört.

List entries must be unique. Pages are not limited to the wiki where the API is accessed. The user must have fewer than 1000 (non-deleted) entries in the list.

Parameter:
list

Listenkennung.

Dieser Parameter ist erforderlich.
Typ: Ganzzahl
project

Projektname des Wikis, das die Seite hostet. (Typischerweise ist dies der Domainname des Wikis.) Erforderlich, es sei denn, es wird eine Stapelerstellung durchgeführt.

Kann nicht länger sein als 255 Bytes.
title

Page title (including the localised namespace name). Required unless doing batch creation. Human-readable format (spaces not underscores) is recommended. The API treats titles as raw strings; normalization (such as title casing) is left to the clients.

Kann nicht länger sein als 383 Bytes.
batch

Batch data for creating multiple list entries (in the same list) in a single request, in the form of a JSON array with one or more objects with project and title fields.