MtDu has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/331225 )
Change subject: Add missing apihelp messages to the MultiUpload Extension ...................................................................... Add missing apihelp messages to the MultiUpload Extension Tests are failing because of missing apihelp-messages. This patch adds apihelp description as well as parameter messages. In addition, a qqq.json file has been added, albeit with some empty values. Bug: T154606 Change-Id: Ibc27274f129df8cb9737a9d0379c273474637ac5 --- M i18n/en.json A i18n/qqq.json 2 files changed, 29 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultiUpload refs/changes/25/331225/1 diff --git a/i18n/en.json b/i18n/en.json index 7a8147c..268ae50 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -18,5 +18,8 @@ "multiupload-unpack-error": "Error unpacking package file", "multiupload-unreadable-package": "Can't read file $1", "multiupload-http-error": "Couldn't connect to server.", - "multiupload-file-unpacked-from": "File <b>$1</b> from package <b>$2</b>" + "multiupload-file-unpacked-from": "File <b>$1</b> from package <b>$2</b>", + "apihelp-multiupload-unpack-description": "Unpack a zip or tar file before importing its contents.", + "apihelp-multiupload-unpack-param-key": "\"filekey\" obtained when uploading the package file to stash", + "apihelp-multiupload-unpack-param-filename": "filename of the package" } diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..7502ed6 --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,25 @@ +{ + "@metadata": { + "authors": [ + "Justin Du" + ] + }, + "multiupload": "Message displayed on the legend in Special:MultiUpload", + "multiupload-desc": "Description of the MultiUpload extension", + "multiupload-text": "Pretext shown in an UploadForm instance of MultiUpload.", + "multipleupload": "Alias for multiupload", + "multipleupload-toolbox": "", + "multiupload-submit": "Message shown on the submit button of the MultiUpload form.", + "multiupload-uploadedto": "Success message shown when a file has been successfully uploaded using Special:MultiUpload.", + "multiupload-row": "", + "multiupload-unpack-button": "Label message for the unpack button.", + "multiupload-notify-ok": "Message shown in a dialog displayed to the user.", + "multiupload-upload-package-error": "Error message shown when a package has failed to upload.", + "multiupload-unpack-error": "Error message shown when a package has failed to be unpacked on the server.", + "multiupload-unreadable-package": "", + "multiupload-http-error": "HTTP Connection error message.", + "multiupload-file-unpacked-from": "Message shown when filed have successfully been unpacked.", + "apihelp-multiupload-unpack-description": "{{doc-apihelp-description|multiupload-unpack}}", + "apihelp-multiupload-unpack-param-key": "{{doc-apihelp-param|multiupload-unpack|key}}", + "apihelp-multiupload-unpack-param-filename": "{{doc-apihelp-param|multiupload-unpack|filename}}" +} -- To view, visit https://gerrit.wikimedia.org/r/331225 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibc27274f129df8cb9737a9d0379c273474637ac5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MultiUpload Gerrit-Branch: master Gerrit-Owner: MtDu <justin.d...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits