Follow up on r42658. Register messages and rebuild MessagesEn.php
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 27 Oct 2008 15:46:27 +0000 (15:46 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 27 Oct 2008 15:46:27 +0000 (15:46 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index f18d84e..208655a 100644 (file)
@@ -772,6 +772,8 @@ See [[Special:Version|version page]].',
 'anonnotice'                   => '-', # do not translate or duplicate this message to other languages
 'newsectionheaderdefaultlevel' => '== $1 ==', # do not translate or duplicate this message to other languages
 'red-link-title'               => '$1 (not yet written)',
+'protected-sub-allowed'        => "Some users '''cannot edit this page''' because it has been [$1 restricted] to prevent editing",
+'protected-sub-disallowed'     => "You '''cannot edit this page''' because it has been [$1 restricted] to prevent editing",
 
 # Short words for each namespace, by default used in the namespace tab in monobook
 'nstab-main'      => 'Page',
@@ -3728,8 +3730,4 @@ Enter the filename without the "{{ns:image}}:" prefix.',
 
 #Put all regex fragments above this line. Leave this line exactly as it is</pre>',
 
-# Unknown messages
-'protected-sub-allowed'    => "Some users '''cannot edit this page''' because it has been [$1 restricted] to prevent editing",
-'protected-sub-disallowed' => "You '''cannot edit this page''' because it has been [$1 restricted] to prevent editing",
-
 );
index a95a769..ee6f18a 100644 (file)
@@ -287,6 +287,8 @@ $wgMessageStructure = array(
                'anonnotice',
                'newsectionheaderdefaultlevel',
                'red-link-title',
+               'protected-sub-allowed',
+               'protected-sub-disallowed',
        ),
        'nstab' => array(
                'nstab-main',