Add 'api-error-emptypage'.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 13 Jan 2012 14:47:27 +0000 (14:47 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 13 Jan 2012 14:47:27 +0000 (14:47 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index ce5b62c..dcfb3ac 100644 (file)
@@ -4727,9 +4727,10 @@ Otherwise, you can use the easy form below. Your comment will be added to the pa
 'api-error-copyuploaddisabled'            => 'Uploading by URL is disabled on this server.',
 'api-error-duplicate'                     => 'There {{PLURAL:$1|is [$2 another file]|are [$2 some other files]}} already on the site with the same content.',
 'api-error-duplicate-archive'             => 'There {{PLURAL:$1|was [$2 another file]|were [$2 some other files]}} already on the site with the same content, but {{PLURAL:$1|it was|they were}} deleted.',
-'api-error-duplicate-archive-popup-title' => 'Duplicate {{PLURAL:$1|file|files}} that have already been deleted',
-'api-error-duplicate-popup-title'         => 'Duplicate {{PLURAL:$1|file|files}}',
+'api-error-duplicate-archive-popup-title' => 'Duplicate {{PLURAL:$1|file|files}} that have already been deleted.',
+'api-error-duplicate-popup-title'         => 'Duplicate {{PLURAL:$1|file|files}}.',
 'api-error-empty-file'                    => 'The file you submitted was empty.',
+'api-error-emptypage'                     => 'Creating new, empty pages is not allowed.',
 'api-error-fetchfileerror'                => 'Internal error: Something went wrong while fetching the file.',
 'api-error-file-too-large'                => 'The file you submitted was too large.',
 'api-error-filename-tooshort'             => 'The filename is too short.',
index 6e53175..0530855 100644 (file)
@@ -3599,6 +3599,7 @@ $wgMessageStructure = array(
                'api-error-duplicate-archive-popup-title',
                'api-error-duplicate-popup-title',
                'api-error-empty-file',
+               'api-error-emptypage',
                'api-error-fetchfileerror',
                'api-error-file-too-large',
                'api-error-filename-tooshort',