API:Properties/es

Las propiedades se emplean para obtener varios datos sobre las páginas especificadas a través de los parámetros,   o  , o empleando generadores.

info / in
Obtiene información básica de la o las páginas.

Parámetros

 * : Indica qué propiedades desean obtenerse:
 * : El nivel de protección;
 * : El identificador (ID) de la página de discusión de cada página que no sea de discusión;
 * : El identificador de la página principal de cada página de discusión.

Posibles errores
Ninguno.

revisions / rv
Returns revisions for a given page, or the latest revision for each of several pages. When using parameters marked as (enum),  must have only one title listed.

Parameters

 * : Which properties to get for each revision
 * : Revision ID (default)
 * : Whether the revision was a minor edit (default)
 * : The date and time the revision was made (default)
 * : The user who made the revision (default)
 * : The edit comment (default)
 * : The size of the revision text in bytes
 * : The revision content. If set, the maximum limit will be 10 times as low
 * : The maximum number of revisions to return (enum)
 * : Revision ID to start listing from. (enum)
 * : Revision ID to stop listing at. (enum)
 * : Timestamp to start listing from. (enum)
 * : Timestamp to end listing at. (enum)
 * : Direction to list in. (enum)
 * : List newest revisions first (default). NOTE: rvstart/rvstartid has to be higher than rvend/rvendid
 * : List oldest revisions first. NOTE: rvstart/rvstartid has to be lower than rvend/rvendid
 * : Only list revisions made by this user
 * : Do not list revisions made by this user
 * : Expand templates in  output
 * : If  is set, only retrieve the contents of this section. NOTE: Only implemented in MediaWiki versions 1.13 and above.
 * : Tokens to get for each revision
 * : Rollback token

Possible errors

 * code: rvrevids
 * info: The revids= parameter may not be used with the list options (limit, startid, endid, dirNewer, start, end).
 * code: rvmultpages
 * info: titles, pageids or a generator was used to supply multiple pages, but the limit, startid, endid, dirNewer, user, excludeuser, start and end parameters may only be used on a single page.
 * code: rvaccessdenied
 * info: The current user is not allowed to read title
 * code: rvbadparams
 * info: start and startid cannot be used together
 * code: rvbadparams
 * info: end and endid cannot be used together
 * code: rvbadparams
 * info: user and excludeuser cannot be used together
 * code: rvnosuchsection
 * info: There is no section section in rrevid

categories / cl
Gets a list of all categories used on the provided pages. This module can be used as a generator.

Parameters

 * : Which properties to get (cannot be used with a generator)
 * : The sort key

Possible errors
None

imageinfo / ii
Gets image information for any titles in the image namespace

Parameters

 * : Which properties to get
 * : The time and date of the revision (default)
 * : The user who made the revision (default)
 * : The edit comment
 * : URL of the image
 * : The image's size in bytes
 * : The image's SHA-1 hash
 * : The image's MIME type
 * : Image metadata, if available
 * : Archive name (old images only)
 * : How many image revisions to return (1 by default)
 * : Timestamp to start listing from
 * : Timestamp to stop listing at
 * : If  is set, a URL to an image scaled to this width will be returned as well. Old versions of images can't be scaled
 * : Similar to

langlinks / ll
Gets a list of all language links from the provided pages to other languages.

Parameters
None

Possible errors
None

links / pl
Gets a list of all links on the provided pages. This module can be used as a generator.

Parameters

 * : Only list links to pages in these namespaces

Possible errors
None

templates / tl
Gets a list of all pages included in the provided pages. This module can be used as a generator.

Parameters

 * : Only list pages in these namespaces

Possible errors
None.

images / im
''In Query API interface, this command found pages that embedded the given image. It has been renamed to imageusage.

Gets a list of all images used on the provided pages. This module can be used as a generator.

Parameters
None.

Possible errors
None.

extlinks / el
Gets a list of all external links on the provided pages

Parameters
None.

Possible errors
None.

info / in
Gets information about categories

Parameters
None

Possible errors
None