r25590 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25589‎ | r25590 | r25591 >
Date:16:17, 6 September 2007
Author:brion
Status:old
Tags:
Comment:
Change new section summary to use /* blah */ format to match section editing look n' feel.
Also allows the message to rearrange a bit more flexibly
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesDe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesId.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_classical.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_cn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_tw.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_yue.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -845,9 +845,7 @@
846846 # This is a new section, so create a link to the new section
847847 # in the revision summary.
848848 $cleanSummary = $this->pseudoParseSectionAnchor( $this->summary );
849 - $sectionanchor = $this->sectionAnchor( $cleanSummary );
850 - $this->summary = wfMsgForContent('newsectionsummary') .
851 - " [[{$this->mTitle->getPrefixedText()}{$sectionanchor}|{$cleanSummary}]]";
 849+ $this->summary = wfMsgForContent( 'newsectionsummary', $cleanSummary );
852850 }
853851 } elseif( $this->section != '' ) {
854852 # Try to get a section anchor from the section source, redirect to edited section if header found
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1351,7 +1351,7 @@
13521352 'rc_categories' => 'Limit to categories (separate with "|")',
13531353 'rc_categories_any' => 'Any',
13541354 'rc-change-size' => '$1', # only translate this message to other languages if you have to change it
1355 -'newsectionsummary' => 'New section:',
 1355+'newsectionsummary' => '/* $1 */ new section',
13561356
13571357 # Recent changes linked
13581358 'recentchangeslinked' => 'Related changes',
Index: trunk/phase3/languages/messages/MessagesZh_cn.php
@@ -883,7 +883,7 @@
884884 'number_of_watching_users_pageview' => '[$1个关注用户]',
885885 'rc_categories' => '分类界限(以"|"分割)',
886886 'rc_categories_any' => '任意',
887 -'newsectionsummary' => '新段落:',
 887+'newsectionsummary' => '/* $1 */ 新段落',
888888
889889 # Recent changes linked
890890 'recentchangeslinked' => '链出更改',
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -1013,7 +1013,7 @@
10141014 'number_of_watching_users_pageview' => '[$1 משתמש/ים צופים]',
10151015 'rc_categories' => 'הגבל לקטגוריות (הפרד עם "|")',
10161016 'rc_categories_any' => 'הכול',
1017 -'newsectionsummary' => 'פסקה חדשה:',
 1017+'newsectionsummary' => '/* $1 */ פסקה חדשה',
10181018
10191019 # Recent changes linked
10201020 'recentchangeslinked' => 'שינויים בדפים המקושרים',
Index: trunk/phase3/languages/messages/MessagesZh_yue.php
@@ -960,7 +960,7 @@
961961 'number_of_watching_users_pageview' => '[$1位用戶監視]',
962962 'rc_categories' => '限定到分類(以"|"作分隔)',
963963 'rc_categories_any' => '任何',
964 -'newsectionsummary' => '新小節:',
 964+'newsectionsummary' => '/* $1 */ 新小節',
965965
966966 # Recent changes linked
967967 'recentchangeslinked' => '連結頁嘅更改',
Index: trunk/phase3/languages/messages/MessagesZh_tw.php
@@ -856,7 +856,7 @@
857857 'number_of_watching_users_pageview' => '[$1個關注用戶]',
858858 'rc_categories' => '分類界限(以"|"分割)',
859859 'rc_categories_any' => '任意',
860 -'newsectionsummary' => '新段落:',
 860+'newsectionsummary' => '/* $1 */ 新段落',
861861
862862 # Recent changes linked
863863 'recentchangeslinked' => '鏈出更改',
Index: trunk/phase3/languages/messages/MessagesId.php
@@ -1031,7 +1031,7 @@
10321032 'number_of_watching_users_pageview' => '[$1 pemantau]',
10331033 'rc_categories' => 'Batasi sampai kategori (dipisah dengan "|")',
10341034 'rc_categories_any' => 'Apapun',
1035 -'newsectionsummary' => 'Bagian baru:',
 1035+'newsectionsummary' => '/* $1 */ bagian baru',
10361036
10371037 # Recent changes linked
10381038 'recentchangeslinked' => 'Perubahan terkait',
Index: trunk/phase3/languages/messages/MessagesZh_classical.php
@@ -753,7 +753,7 @@
754754 'boteditletter' => '僕',
755755 'number_of_watching_users_pageview' => '[放有$1哨]',
756756 'rc_categories_any' => '任',
757 -'newsectionsummary' => '新節:',
 757+'newsectionsummary' => '/* $1 */ 新節',
758758
759759 # Recent changes linked
760760 'recentchangeslinked' => '鍵出文',
Index: trunk/phase3/languages/messages/MessagesDe.php
@@ -993,7 +993,7 @@
994994 'rc_categories' => 'Nur Seiten aus den Kategorien (getrennt mit „|“):',
995995 'rc_categories_any' => 'Alle',
996996 'rc-change-size' => '$1 {{PLURAL:$1|Byte|Bytes}}',
997 -'newsectionsummary' => 'Neuer Abschnitt:',
 997+'newsectionsummary' => '/* $1 */ Neuer Abschnitt',
998998
999999 # Recent changes linked
10001000 'recentchangeslinked' => 'Änderungen an verlinkten Seiten',

Follow-up revisions

RevisionCommit summaryAuthorDate
r25607Merged revisions 25530-25606 via svnmerge from...david06:11, 7 September 2007
r25629apiedit: Merging r25590 and beyond from trunkcatrope11:15, 7 September 2007

Status & tagging log