mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-30 19:16:01 +00:00
Split apihelp messages to a separate file
Bug: T189982 Change-Id: Ibcd42f3d69843e22783507d790118d4ad0d159ad
This commit is contained in:
parent
8089aa1b5e
commit
378c5ab4cf
|
@ -13,7 +13,8 @@
|
|||
},
|
||||
"MessagesDirs": {
|
||||
"PageImages": [
|
||||
"i18n"
|
||||
"i18n",
|
||||
"i18n/api"
|
||||
]
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
|
|
14
i18n/api/en.json
Normal file
14
i18n/api/en.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"@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-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."
|
||||
}
|
17
i18n/api/qqq.json
Normal file
17
i18n/api/qqq.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Shirayuki",
|
||||
"Umherirrender"
|
||||
]
|
||||
},
|
||||
"apihelp-query+pageimages-description": "{{doc-apihelp-description|query+pageimages}}",
|
||||
"apihelp-query+pageimages-summary": "{{doc-apihelp-summary|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}}"
|
||||
}
|
11
i18n/en.json
11
i18n/en.json
|
@ -4,14 +4,5 @@
|
|||
},
|
||||
"pageimages-desc": "Collects information about images used on page",
|
||||
"pageimages-blacklist": "",
|
||||
"pageimages-info-label": "Page image",
|
||||
"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-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."
|
||||
"pageimages-info-label": "Page image"
|
||||
}
|
|
@ -7,14 +7,5 @@
|
|||
},
|
||||
"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-summary": "{{doc-apihelp-summary|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}}"
|
||||
"pageimages-info-label": "Label for the page image field on the action=info page.\n\nSee [{{canonicalurl:w:Main Page|action=info}} example]."
|
||||
}
|
Loading…
Reference in a new issue