Add message documentation and message key to maintenance file
authorraymond <raimond.spekking@gmail.com>
Wed, 9 Jan 2013 08:40:02 +0000 (09:40 +0100)
committerraymond <raimond.spekking@gmail.com>
Wed, 9 Jan 2013 08:40:02 +0000 (09:40 +0100)
Per I2096f50b

Change-Id: Id9e65ef9c848e14750799888f75d7fc0e2c1d625

languages/messages/MessagesQqq.php
maintenance/language/messages.inc

index 9e70662..14c0bcb 100644 (file)
@@ -1115,6 +1115,7 @@ See also:
 # E-mail sending
 'php-mail-error-unknown' => 'Used as error message when <code>mail()</code> returned empty error message.',
 'user-mail-no-addy' => 'This is the error message in case an e-mail could not be sent because there was no e-mail address to send it to.',
+'user-mail-no-body' => 'This is the error message in case an e-mail has an empty or unreasonably short body',
 
 # Change password dialog
 'resetpass' => 'The caption of [[Special:ChangePassword]]
index f2405a7..c895bde 100644 (file)
@@ -514,6 +514,7 @@ $wgMessageStructure = array(
                'php-mail-error',
                'php-mail-error-unknown',
                'user-mail-no-addy',
+               'user-mail-no-body',
        ),
        'resetpass' => array(
                'resetpass',