From 2034b16195718dfde6e83a1e020e47c1d130bb3d Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 13 Jan 2012 14:47:27 +0000 Subject: [PATCH] Add 'api-error-emptypage'. --- languages/messages/MessagesEn.php | 5 +++-- maintenance/language/messages.inc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index ce5b62cd76..dcfb3ac289 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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.', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 6e5317535c..05308559d9 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -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', -- 2.20.1