MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=imageserving (wis)
(main | imageserving)
- This module requires read rights.
- Source: ImageServing
- License: 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).
Specific parameters:
Other general parameters are available.
- wisId
Article ID (integer) for which to return the image URL.
- Type: integer
- The value must be no less than 0.
- wisTitle
Article title (string) for which to return the image URL.
Examples:
- Call ImageServing for a page of specified Title.
- api.php?action=imageserving&wisTitle=Cake [open in sandbox]
- Call ImageServing for a page of specified Title with a namespace prefix.
- api.php?action=imageserving&wisTitle=LyricWiki:Community_Portal [open in sandbox]
- Call ImageServing for a page of specified ID.
- api.php?action=imageserving&wisId=90286 [open in sandbox]