diff --git a/extension.json b/extension.json index a4b5da3..eb6ef23 100644 --- a/extension.json +++ b/extension.json @@ -13,7 +13,8 @@ }, "MessagesDirs": { "PageImages": [ - "i18n" + "i18n", + "i18n/api" ] }, "AutoloadClasses": { @@ -96,4 +97,4 @@ } }, "manifest_version": 2 -} +} \ No newline at end of file diff --git a/i18n/api/en.json b/i18n/api/en.json new file mode 100644 index 0000000..91e3cf7 --- /dev/null +++ b/i18n/api/en.json @@ -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 100-pixel thumbnail of an image on the Albert Einstein 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." +} \ No newline at end of file diff --git a/i18n/api/qqq.json b/i18n/api/qqq.json new file mode 100644 index 0000000..1d2371e --- /dev/null +++ b/i18n/api/qqq.json @@ -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}}" +} \ No newline at end of file diff --git a/i18n/en.json b/i18n/en.json index 4132044..026e0f1 100644 --- a/i18n/en.json +++ b/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 100-pixel thumbnail of an image on the Albert Einstein 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" +} \ No newline at end of file diff --git a/i18n/qqq.json b/i18n/qqq.json index 07f546e..572a92b 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -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]." +} \ No newline at end of file