Change new section summary to use /* blah */ format to match section editing look...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 6 Sep 2007 16:17:09 +0000 (16:17 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 6 Sep 2007 16:17:09 +0000 (16:17 +0000)
Also allows the message to rearrange a bit more flexibly

includes/EditPage.php
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php
languages/messages/MessagesHe.php
languages/messages/MessagesId.php
languages/messages/MessagesZh_classical.php
languages/messages/MessagesZh_cn.php
languages/messages/MessagesZh_tw.php
languages/messages/MessagesZh_yue.php

index 6f20746..ad3c2b6 100644 (file)
@@ -845,9 +845,7 @@ class EditPage {
                                # This is a new section, so create a link to the new section
                                # in the revision summary.
                                $cleanSummary = $this->pseudoParseSectionAnchor( $this->summary );
-                               $sectionanchor = $this->sectionAnchor( $cleanSummary );
-                               $this->summary = wfMsgForContent('newsectionsummary') . 
-                                       " [[{$this->mTitle->getPrefixedText()}{$sectionanchor}|{$cleanSummary}]]";
+                               $this->summary = wfMsgForContent( 'newsectionsummary', $cleanSummary );
                        }
                } elseif( $this->section != '' ) {
                        # Try to get a section anchor from the section source, redirect to edited section if header found
index df795c8..6b024a4 100644 (file)
@@ -993,7 +993,7 @@ Nicht selektierte Gruppen werden nicht geändert. Eine Selektion kann mit '''Str
 'rc_categories'                     => 'Nur Seiten aus den Kategorien (getrennt mit „|“):',
 'rc_categories_any'                 => 'Alle',
 'rc-change-size'                    => '$1 {{PLURAL:$1|Byte|Bytes}}',
-'newsectionsummary'                 => 'Neuer Abschnitt:',
+'newsectionsummary'                 => '/* $1 */ Neuer Abschnitt',
 
 # Recent changes linked
 'recentchangeslinked'          => 'Änderungen an verlinkten Seiten',
index 3a8c394..b2a7d2c 100644 (file)
@@ -1351,7 +1351,7 @@ Unselected groups will not be changed. You can deselect a group with CTRL + Left
 'rc_categories'                     => 'Limit to categories (separate with "|")',
 'rc_categories_any'                 => 'Any',
 'rc-change-size'                    => '$1', # only translate this message to other languages if you have to change it
-'newsectionsummary'                 => 'New section:',
+'newsectionsummary'                 => '/* $1 */ new section',
 
 # Recent changes linked
 'recentchangeslinked'          => 'Related changes',
index 7dc9228..a04323b 100644 (file)
@@ -1013,7 +1013,7 @@ $2',
 'number_of_watching_users_pageview' => '[$1 משתמש/ים צופים]',
 'rc_categories'                     => 'הגבל לקטגוריות (הפרד עם "|")',
 'rc_categories_any'                 => 'הכול',
-'newsectionsummary'                 => 'פסקה חדשה:',
+'newsectionsummary'                 => '/* $1 */ פסקה חדשה',
 
 # Recent changes linked
 'recentchangeslinked'          => 'שינויים בדפים המקושרים',
index bb567e3..c9b4f55 100644 (file)
@@ -1031,7 +1031,7 @@ Pengurus lain akan dapat mengakses isi tersebunyi dan dapat membatalkan penghapu
 'number_of_watching_users_pageview' => '[$1 pemantau]',
 'rc_categories'                     => 'Batasi sampai kategori (dipisah dengan "|")',
 'rc_categories_any'                 => 'Apapun',
-'newsectionsummary'                 => 'Bagian baru:',
+'newsectionsummary'                 => '/* $1 */ bagian baru',
 
 # Recent changes linked
 'recentchangeslinked'          => 'Perubahan terkait',
index 4259bf3..4b46de9 100644 (file)
@@ -753,7 +753,7 @@ $2',
 'boteditletter'                     => '僕',
 'number_of_watching_users_pageview' => '[放有$1哨]',
 'rc_categories_any'                 => '任',
-'newsectionsummary'                 => '新節:',
+'newsectionsummary'                 => '/* $1 */ 新節',
 
 # Recent changes linked
 'recentchangeslinked'          => '鍵出文',
index dfde226..79420b0 100644 (file)
@@ -883,7 +883,7 @@ $2',
 'number_of_watching_users_pageview' => '[$1个关注用户]',
 'rc_categories'                     => '分类界限(以"|"分割)',
 'rc_categories_any'                 => '任意',
-'newsectionsummary'                 => '新段落:',
+'newsectionsummary'                 => '/* $1 */ 新段落',
 
 # Recent changes linked
 'recentchangeslinked'          => '链出更改',
index fa437f3..0a4a770 100644 (file)
@@ -856,7 +856,7 @@ $2',
 'number_of_watching_users_pageview' => '[$1個關注用戶]',
 'rc_categories'                     => '分類界限(以"|"分割)',
 'rc_categories_any'                 => '任意',
-'newsectionsummary'                 => '新段落:',
+'newsectionsummary'                 => '/* $1 */ 新段落',
 
 # Recent changes linked
 'recentchangeslinked'          => '鏈出更改',
index 17346b7..f4595bd 100644 (file)
@@ -960,7 +960,7 @@ $2',
 'number_of_watching_users_pageview' => '[$1位用戶監視]',
 'rc_categories'                     => '限定到分類(以"|"作分隔)',
 'rc_categories_any'                 => '任何',
-'newsectionsummary'                 => '新小節:',
+'newsectionsummary'                 => '/* $1 */ 新小節',
 
 # Recent changes linked
 'recentchangeslinked'          => '連結頁嘅更改',