Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/API

action=imageserving (wis)

(main | imageserving)
  • Этот модуль требует прав на чтение.
  • Источник: ImageServing
  • Лицензия: 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).

Параметры:
wisId

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

Значение должно быть не меньше 0.
Тип: целое число
wisTitle

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

Примеры:
Call ImageServing for a page of specified Title.
api.php?action=imageserving&wisTitle=Cake [открыть в песочнице]
Call ImageServing for a page of specified Title with a namespace prefix.
api.php?action=imageserving&wisTitle=LyricWiki:Community_Portal [открыть в песочнице]
Call ImageServing for a page of specified ID.
api.php?action=imageserving&wisId=90286 [открыть в песочнице]