Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -315,6 +315,7 @@ |
316 | 316 | 'viewsource', |
317 | 317 | 'viewsourcefor', |
318 | 318 | 'protectedpagetext', |
| 319 | + 'namespaceprotected', |
319 | 320 | 'viewsourcetext', |
320 | 321 | 'protectedinterface', |
321 | 322 | 'editinginterface', |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -982,7 +982,7 @@ |
983 | 983 | $ns = $wgTitle->getNamespace() == NS_MAIN |
984 | 984 | ? wfMsg( 'nstab-main' ) |
985 | 985 | : $wgTitle->getNsText(); |
986 | | - $this->addWikiText( wfMsg( 'namespaceprotectedtext', $ns, |
| 986 | + $this->addWikiText( wfMsg( 'namespaceprotected', $ns, |
987 | 987 | implode( ', ', $wgNamespaceProtection[ $wgTitle->getNamespace() ] ) ) ); |
988 | 988 | } else { |
989 | 989 | // Standard protection |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -785,7 +785,7 @@ |
786 | 786 | 'editinginterface' => "'''Warning:''' You are editing a page which is used to provide interface text for the software. Changes to this page will affect the appearance of the user interface for other users.", |
787 | 787 | 'sqlhidden' => '(SQL query hidden)', |
788 | 788 | '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:', |
789 | | -'namespaceprotectedtext'=>'Because this page resides in the $1 namespace, editing of it has been restricted to users with the rights "$2". Please [[Special:Userlogin|log-in]] or contact an administrator to request permission to edit it.', |
| 789 | +'namespaceprotected' => "You do not have permission to edit pages in the '''$1''' namespace.", |
790 | 790 | |
791 | 791 | # Login and logout pages |
792 | 792 | 'logouttitle' => 'User logout', |