Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

command=createentry

(main | readinglists | createentry)
  • Este módulo es interno o inestable y no debes usarlo. Su funcionamiento puede cambiar sin previo aviso.
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: ReadingLists
  • Licencia: GPL-2.0-or-later

Add a new page to a list belonging to the current user.

Las entradas de la lista deben ser únicas. Las páginas no se limitan al wiki donde se accede a la API. El usuario debe tener menos de 5000 entradas (no borradas) en la lista.

Parámetros específicos:
Other general parameters are available.
list

Identificador de lista.

Este parámetro es obligatorio.
Tipo: entero
project

Project name of the wiki hosting the page. (Typically this is the domain name of the wiki.) Required unless doing batch creation.

Cannot be longer than 255 bytes.
title

Page title (including the localized 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.

Cannot be longer than 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.