* Renaming the message 'protectedtext' to 'protectedpagetext', to prevent a duplicate...
authorRotem Liss <rotem@users.mediawiki.org>
Mon, 18 Dec 2006 18:28:33 +0000 (18:28 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Mon, 18 Dec 2006 18:28:33 +0000 (18:28 +0000)
* Update.

includes/OutputPage.php
languages/messages/MessagesEn.php
languages/messages/MessagesHe.php
maintenance/language/messages.inc

index 25ff449..65f391c 100644 (file)
@@ -882,7 +882,7 @@ class OutputPage {
                        if( $wgTitle->getNamespace() == NS_MEDIAWIKI && !$wgUser->isAllowed( 'editinterface' ) ) {
                                $this->addWikiText( wfMsg( 'protectedinterface' ) );
                        } else {
-                               $this->addWikiText( wfMsg( 'protectedtext' ) );
+                               $this->addWikiText( wfMsg( 'protectedpagetext' ) );
                        }
                } else {
                        $this->setPageTitle( wfMsg( 'readonly' ) );
index 6295229..ebbb4f7 100644 (file)
@@ -767,7 +767,7 @@ Function: $1<br />
 Query: $2',
 'viewsource' => 'View source',
 'viewsourcefor' => 'for $1',
-'protectedtext' => 'This page has been locked to prevent editing.',
+'protectedpagetext' => 'This page has been locked to prevent editing.',
 'viewsourcetext' => 'You can view and copy the source of this page:',
 'protectedinterface' => 'This page provides interface text for the software, and is locked to prevent abuse.',
 '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.",
index c90e3ad..d5f2585 100644 (file)
@@ -515,9 +515,8 @@ $messages = array(
 שאילתה: $2',
 'viewsource'           => 'הצגת מקור',
 'viewsourcefor'        => 'לדף $1',
-'protectedtext'        => "דף זה הינו '''דף מוגן''' ולא ניתן לערוך אותו. ישנן מספר סיבות אפשריות להגנה כזו.
-
-באפשרותכם לצפות בטקסט המקור של הדף, ואף להעתיקו:",
+'protectedpagetext'    => "דף זה הינו '''דף מוגן''' ולא ניתן לערוך אותו.",
+'viewsourcetext'       => 'באפשרותכם לצפות בטקסט המקור של הדף, ואף להעתיקו:',
 'protectedinterface'   => 'דף זה הוא אחד מסדרת דפים המספקים הודעות מערכת לתוכנה, ונעול לעריכה למפעילי מערכת בלבד כדי למנוע השחתות של ההודעות.',
 'editinginterface'     => "'''אזהרה:''' דף זה הוא אחד מסדרת דפים המספקים הודעות מערכת לתוכנה. שינויים בדף זה ישנו את הודעת המערכת לכל המשתמשים האחרים.",
 'sqlhidden'            => '(שאילתת ה־SQL מוסתרת)',
index 21d81b6..7d9e5d3 100644 (file)
@@ -308,7 +308,8 @@ $wgMessageStrucutre = array(
                'wrong_wfQuery_params',
                'viewsource',
                'viewsourcefor',
-               'protectedtext',
+               'protectedpagetext',
+               'viewsourcetext',
                'protectedinterface',
                'editinginterface',
                'sqlhidden',