Add 'api-error-unknownerror' and update punctuation and quotes for api-error-* where...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 13 Jan 2012 21:28:59 +0000 (21:28 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 13 Jan 2012 21:28:59 +0000 (21:28 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index a4ba0ce..64fb829 100644 (file)
@@ -4755,9 +4755,10 @@ Otherwise, you can use the easy form below. Your comment will be added to the pa
 'api-error-stashfailed'                   => 'Internal error: Server failed to store temporary file.',
 'api-error-timeout'                       => 'The server did not respond within the expected time.',
 'api-error-unclassified'                  => 'An unknown error occurred.',
-'api-error-unknown-code'                  => 'Unknown error: "$1"',
+'api-error-unknown-code'                  => 'Unknown error: "$1".',
 'api-error-unknown-error'                 => 'Internal error: Something went wrong when trying to upload your file.',
-'api-error-unknown-warning'               => 'Unknown warning: $1',
+'api-error-unknown-warning'               => 'Unknown warning: "$1".',
+'api-error-unknownerror'                  => 'Unknown error: "$1".',
 'api-error-uploaddisabled'                => 'Uploading is disabled on this wiki.',
 'api-error-verification-error'            => 'This file might be corrupt, or have the wrong extension.',
 
index 0530855..26271ab 100644 (file)
@@ -3624,6 +3624,7 @@ $wgMessageStructure = array(
                'api-error-unknown-code',
                'api-error-unknown-error',
                'api-error-unknown-warning',
+               'api-error-unknownerror',
                'api-error-uploaddisabled',
                'api-error-verification-error',
        ),