* Renaming the message 'protectedtext' to 'protectedpagetext', to prevent a duplicate display of the second paragraph due to the saved message.
* Update.
This commit is contained in:
parent
86ae8e1fa7
commit
2f44de3a1a
4 changed files with 6 additions and 6 deletions
|
|
@ -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' ) );
|
||||
|
|
|
|||
|
|
@ -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.",
|
||||
|
|
|
|||
|
|
@ -515,9 +515,8 @@ $messages = array(
|
|||
שאילתה: $2',
|
||||
'viewsource' => 'הצגת מקור',
|
||||
'viewsourcefor' => 'לדף $1',
|
||||
'protectedtext' => "דף זה הינו '''דף מוגן''' ולא ניתן לערוך אותו. ישנן מספר סיבות אפשריות להגנה כזו.
|
||||
|
||||
באפשרותכם לצפות בטקסט המקור של הדף, ואף להעתיקו:",
|
||||
'protectedpagetext' => "דף זה הינו '''דף מוגן''' ולא ניתן לערוך אותו.",
|
||||
'viewsourcetext' => 'באפשרותכם לצפות בטקסט המקור של הדף, ואף להעתיקו:',
|
||||
'protectedinterface' => 'דף זה הוא אחד מסדרת דפים המספקים הודעות מערכת לתוכנה, ונעול לעריכה למפעילי מערכת בלבד כדי למנוע השחתות של ההודעות.',
|
||||
'editinginterface' => "'''אזהרה:''' דף זה הוא אחד מסדרת דפים המספקים הודעות מערכת לתוכנה. שינויים בדף זה ישנו את הודעת המערכת לכל המשתמשים האחרים.",
|
||||
'sqlhidden' => '(שאילתת ה־SQL מוסתרת)',
|
||||
|
|
|
|||
|
|
@ -308,7 +308,8 @@ $wgMessageStrucutre = array(
|
|||
'wrong_wfQuery_params',
|
||||
'viewsource',
|
||||
'viewsourcefor',
|
||||
'protectedtext',
|
||||
'protectedpagetext',
|
||||
'viewsourcetext',
|
||||
'protectedinterface',
|
||||
'editinginterface',
|
||||
'sqlhidden',
|
||||
|
|
|
|||
Loading…
Reference in a new issue