r81509 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81508‎ | r81509 | r81510 >
Date:04:34, 4 February 2011
Author:brion
Status:ok
Tags:
Comment:
First pass through tweaking human-readable forms of API error messages for UploadWizard: bug 27098
Followup on r77100
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizard.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php
@@ -31,19 +31,19 @@
3232 'mwe-upwiz-step-deeds' => 'Release rights', // Guillaume wants "Set rights". Disagreement -- NeilK
3333 'mwe-upwiz-step-details' => 'Describe',
3434 'mwe-upwiz-step-thanks' => 'Use',
35 - 'mwe-upwiz-api-error-http' => 'There was a problem connecting to the service.',
36 - 'mwe-upwiz-api-error-ok-but-empty' => 'The server did not return any information about the upload.',
37 - 'mwe-upwiz-api-error-unknown-code' => 'The server returned an error we did not understand: "$1"',
 35+ 'mwe-upwiz-api-error-http' => 'Internal error: unable to connect to server.',
 36+ 'mwe-upwiz-api-error-ok-but-empty' => 'Internal error: no response from server.',
 37+ 'mwe-upwiz-api-error-unknown-code' => 'Unknown error: "$1"',
3838 'mwe-upwiz-api-error-uploaddisabled' => 'Uploading is disabled on this wiki.',
39 - 'mwe-upwiz-api-error-nomodule' => 'The wiki did not know how to handle this upload.',
40 - 'mwe-upwiz-api-error-mustbeposted' => 'There is a bug in this software; it is not using the proper HTTP method.',
41 - 'mwe-upwiz-api-error-badaccess-groups' => 'You are not permitted to upload files to this wiki. Check what access groups you belong to.',
42 - 'mwe-upwiz-api-error-stashfailed' => 'The wiki could not store the file.',
43 - 'mwe-upwiz-api-error-missingresult' => 'We could not determine if the copy succeeded.',
44 - 'mwe-upwiz-api-error-missingparam' => 'The upload did not have all the required information (probably a bug in this uploader.)',
45 - 'mwe-upwiz-api-error-invalid-session-key' => 'The server could not find that file in your uploaded files.',
46 - 'mwe-upwiz-api-error-copyuploaddisabled' => 'Uploads by copying are disabled.',
47 - 'mwe-upwiz-api-error-mustbeloggedin' => 'You are not properly logged in.',
 39+ 'mwe-upwiz-api-error-nomodule' => 'Internal error: no upload module set.',
 40+ 'mwe-upwiz-api-error-mustbeposted' => 'Internal error: request requires HTTP POST.',
 41+ 'mwe-upwiz-api-error-badaccess-groups' => 'You are not permitted to upload files to this wiki.',
 42+ 'mwe-upwiz-api-error-stashfailed' => 'Internal error: server failed to store temporary file.',
 43+ 'mwe-upwiz-api-error-missingresult' => 'Internal error: could not determine if the copy succeeded.',
 44+ 'mwe-upwiz-api-error-missingparam' => 'Internal error: missing parameters on request.',
 45+ 'mwe-upwiz-api-error-invalid-session-key' => 'Internal error: file was not found in temporary storage.',
 46+ 'mwe-upwiz-api-error-copyuploaddisabled' => 'Uploading by URL is disabled on this server.',
 47+ 'mwe-upwiz-api-error-mustbeloggedin' => 'You must be logged in to upload files.',
4848 'mwe-upwiz-api-error-empty-file' => 'The file you submitted was empty.',
4949 'mwe-upwiz-api-error-file-too-large' => 'The file you submitted was too large.',
5050 'mwe-upwiz-api-error-filetype-missing' => 'The file is missing an extension.',
@@ -52,11 +52,11 @@
5353 'mwe-upwiz-api-error-illegal-filename' => 'The filename is not allowed.',
5454 'mwe-upwiz-api-error-verification-error' => 'This file might be corrupt, or have the wrong extension.',
5555 'mwe-upwiz-api-error-hookaborted' => 'The modification you tried to make was aborted by an extension hook.',
56 - 'mwe-upwiz-api-error-unknown-error' => 'Something went wrong when trying to upload your file.',
57 - 'mwe-upwiz-api-error-internal-error' => 'Something went wrong with processing your upload on the wiki.',
 56+ 'mwe-upwiz-api-error-unknown-error' => 'Internal error: something went wrong when trying to upload your file.',
 57+ 'mwe-upwiz-api-error-internal-error' => 'Internal error: something went wrong with processing your upload on the wiki.',
5858 'mwe-upwiz-api-error-overwrite' => 'Overwriting an existing file is not allowed.',
59 - 'mwe-upwiz-api-error-badtoken' => 'The "token" we use to identify you to the server was bad.',
60 - 'mwe-upwiz-api-error-fetchfileerror' => 'Something went wrong while fetching the file.',
 59+ 'mwe-upwiz-api-error-badtoken' => 'Internal error: bad token.',
 60+ 'mwe-upwiz-api-error-fetchfileerror' => 'Internal error: something went wrong while fetching the file.',
6161 'mwe-upwiz-api-warning-duplicate' => 'There is another file already on the wiki with the same content',
6262 'mwe-upwiz-api-warning-exists' => 'There is another file already on the wiki with the same filename',
6363 'mwe-upwiz-tutorial-error-localized-file-missing' => 'Sorry, we could not find a tutorial in your language. The English one is shown instead.',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77100decent error messagingneilk09:08, 22 November 2010

Status & tagging log