From 9d76a2c7ab4a8d56b44e523c8c7559d8d058d44c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 26 Aug 2007 21:34:23 +0000 Subject: [PATCH] *Rename protected-subtitle messages to something more uninformative. Tweak one message very slightly. --- includes/Article.php | 4 ++-- languages/messages/MessagesEn.php | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 6a583db769..7f9e4400ff 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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 ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index aeb9759da4..d3988b8450 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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', -- 2.20.1