mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-12-01 03:17:16 +00:00
382c70f981
The API accepts a new query parameter `license`, whose value can either be `free` or `any`. `free` is the default value. When the value of `licence` is: * `free`, then only the best image whose copyright allows reusing it will be returned; * `any`, then the best image, regardless of its copyright status, will be returned. Bug: T131105 Change-Id: I83ac5266e382d2d121aff3f7d28711787251c03b
20 lines
1.1 KiB
JSON
20 lines
1.1 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Shirayuki",
|
|
"Umherirrender"
|
|
]
|
|
},
|
|
"pageimages-desc": "{{desc|name=Page Images|url=https://www.mediawiki.org/wiki/Extension:PageImages}}",
|
|
"pageimages-blacklist": "List of images. They will never be selected as page images",
|
|
"pageimages-info-label": "Label for the page image field on the action=info page.\n\nSee [{{canonicalurl:w:Main Page|action=info}} example].",
|
|
"apihelp-query+pageimages-description": "{{doc-apihelp-description|query+pageimages}}",
|
|
"apihelp-query+pageimages-example-1": "{{doc-apihelp-example|query+pageimages}}",
|
|
"apihelp-query+pageimages-param-prop": "{{doc-apihelp-param|query+pageimages|prop}}",
|
|
"apihelp-query+pageimages-param-thumbsize": "{{doc-apihelp-param|query+pageimages|thumbsize}}",
|
|
"apihelp-query+pageimages-param-limit": "{{doc-apihelp-param|query+pageimages|limit}}",
|
|
"apihelp-query+pageimages-param-license": "{{doc-apihelp-param|query+pageimages|license}}",
|
|
"apihelp-query+pageimages-paramvalue-license-free": "{{doc-apihelp-paramvalue|query+pageimages|license|free}}",
|
|
"apihelp-query+pageimages-paramvalue-license-any": "{{doc-apihelp-paramvalue|query+pageimages|license|any}}"
|
|
}
|