mediawiki-extensions-PageIm.../i18n/api/en.json
jgiannelos d9fd6c8679 Add language param in prop=pageimages API
* Images on pages can be localized (eg. SVG text)
* Allow API consumers to select the language the images are rendered in

Bug: T257082
Change-Id: I05f498444c55aea9028a58de80e21ba1e236bf02
2020-08-19 11:59:05 +03:00

16 lines
1.2 KiB
JSON

{
"@metadata": {
"authors": []
},
"apihelp-query+pageimages-description": "Returns information about images on the page, such as thumbnail and presence of photos.",
"apihelp-query+pageimages-summary": "Returns information about images on the page, such as thumbnail and presence of photos.",
"apihelp-query+pageimages-example-1": "Get name and <kbd>100</kbd>-pixel thumbnail of an image on the <kbd>Albert Einstein</kbd> page.",
"apihelp-query+pageimages-param-prop": "Which information to return:\n;thumbnail:URL and dimensions of thumbnail image associated with page, if any.\n;original:URL and original dimensions of image associated with page, if any.\n;name:Image title.",
"apihelp-query+pageimages-param-thumbsize": "Maximum width in pixels of thumbnail images.",
"apihelp-query+pageimages-param-langcode": "Code for the language the image is going to be rendered in if multiple languages are supported",
"apihelp-query+pageimages-param-limit": "Properties of how many pages to return.",
"apihelp-query+pageimages-param-license": "Limit page images to a certain license type",
"apihelp-query+pageimages-paramvalue-license-free": "only free images",
"apihelp-query+pageimages-paramvalue-license-any": "best image, whether free or non-free."
}