*Rename protected-subtitle messages to something more uninformative. Tweak one messag...
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 26 Aug 2007 21:34:23 +0000 (21:34 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 26 Aug 2007 21:34:23 +0000 (21:34 +0000)
includes/Article.php
languages/messages/MessagesEn.php

index 6a583db..7f9e440 100644 (file)
@@ -918,9 +918,9 @@ class Article {
                if( !$editGroups || !$moveGroups ) {
                        $msg = wfMsg( 'protected-subtitle' );
                } else if( $editGroups == $moveGroups ) {
-                       $msg = wfMsg( 'protected-subtitle2', $editGroups, $moveGroups );
+                       $msg = wfMsg( 'protected-subtitle-same', $editGroups, $moveGroups );
                } else {
-                       $msg = wfMsg( 'protected-subtitle3', $editGroups, $moveGroups );
+                       $msg = wfMsg( 'protected-subtitle-diff', $editGroups, $moveGroups );
                }
                
                $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg );
index aeb9759..d3988b8 100644 (file)
@@ -794,13 +794,13 @@ Query: $2',
 'sqlhidden'            => '(SQL query hidden)',
 'cascadeprotected'     => "This page has been protected from editing, because it is included in the following {{PLURAL:$1|page|pages}}, which are protected with the \"cascading\" option turned on:
 $2",
-'namespaceprotected'   => "You do not have permission to edit pages in the '''$1''' namespace.",
-'customcssjsprotected' => "You do not have permission to edit this page, because it contains another user's personal settings.",
-'ns-specialprotected'  => "Pages in the {{ns:special}} namespace cannot be edited.",
-'protected-subtitle'   => "(This page is protected)",
-'protected-subtitle2'  => "(This page is protected. Some users ($1) can still edit or move it.)",
-'protected-subtitle3'  => "(This page is protected. Some users ($1) can still edit it and others ($2) can move it.)",
-'protected-anyone'     => 'anyone',
+'namespaceprotected'       => "You do not have permission to edit pages in the '''$1''' namespace.",
+'customcssjsprotected'     => "You do not have permission to edit this page, because it contains another user's personal settings.",
+'ns-specialprotected'      => "Pages in the {{ns:special}} namespace cannot be edited.",
+'protected-subtitle'       => "(This page is protected)",
+'protected-subtitle-same'  => "(This page is protected. Some users ($1) can still edit or move it.)",
+'protected-subtitle-diff'  => "(This page is protected. Some users ($1) can still edit it while others ($2) can move it.)",
+'protected-anyone'         => 'anyone',
 
 # Login and logout pages
 'logouttitle'                => 'User logout',