Aide de l’API MediaWiki

Ceci est une page d’aide de l’API de MediaWiki générée automatiquement.

Documentation et exemples : https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=imageserving (wis)

(main | imageserving)
  • Ce module nécessite des droits de lecture.
  • Source : ImageServing
  • Licence : GPL-2.0-or-later

This module is used to return one image URL for the specified article given either the article ID or article title (with prefix if applicable).

Paramètres :
wisId

Article ID (integer) for which to return the image URL.

Type: entier
La valeur ne peut pas être inférieure à 0.
wisTitle

Article title (string) for which to return the image URL.

Exemples :
Call ImageServing for a page of specified Title.
api.php?action=imageserving&wisTitle=Cake [ouvrir dans le bac à sable]
Call ImageServing for a page of specified Title with a namespace prefix.
api.php?action=imageserving&wisTitle=LyricWiki:Community_Portal [ouvrir dans le bac à sable]
Call ImageServing for a page of specified ID.
api.php?action=imageserving&wisId=90286 [ouvrir dans le bac à sable]