r19213 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19212‎ | r19213 | r19214 >
Date:22:29, 13 January 2007
Author:tstarling
Status:old (Comments)
Tags:
Comment:
Removed broken __END__ feature.
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesAr.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBg.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesBs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesCs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesGa.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesNds.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesNn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesPt.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesRo.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesRu.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSk.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSr_ec.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesSr_el.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesTt.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesVi.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesYi.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3723,11 +3723,7 @@
37243724 }
37253725
37263726 # Trim trailing whitespace
3727 - # __END__ tag allows for trailing
3728 - # whitespace to be deliberately included
37293727 $text = rtrim( $text );
3730 - $mw =& MagicWord::get( 'end' );
3731 - $mw->matchAndRemove( $text );
37323728
37333729 return $text;
37343730 }
Index: trunk/phase3/languages/messages/MessagesVi.php
@@ -62,7 +62,6 @@
6363 'msg' => array( 0, 'MSG:' , 'NHẮN:' ),
6464 'subst' => array( 0, 'SUBST:' , 'THẾ:' ),
6565 'msgnw' => array( 0, 'MSGNW:' , 'NHẮNMỚI:' ),
66 - 'end' => array( 0, '__END__' , '__KẾT__' ),
6766 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' , 'nhỏ' ),
6867 'img_right' => array( 1, 'right' , 'phải' ),
6968 'img_left' => array( 1, 'left' , 'trái' ),
Index: trunk/phase3/languages/messages/MessagesCs.php
@@ -105,7 +105,6 @@
106106 'msg' => array( 0, 'MSG:' ),
107107 'subst' => array( 0, 'SUBST:', 'VLOŽIT:' ),
108108 'msgnw' => array( 0, 'MSGNW:', 'VLOŽITNW:' ),
109 - 'end' => array( 0, '__END__', '__KONEC__' ),
110109 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'náhled' ),
111110 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1', 'náhled=$1' ),
112111 'img_right' => array( 1, 'right', 'vpravo' ),
Index: trunk/phase3/languages/messages/MessagesSk.php
@@ -100,7 +100,6 @@
101101 'msg' => array( 0, 'MSG:', 'SPRÁVA:' ),
102102 'subst' => array( 0, 'SUBST:' ),
103103 'msgnw' => array( 0, 'MSGNW:' ),
104 - 'end' => array( 0, '__END__', '__KONIEC__' ),
105104 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'náhľad', 'náhľadobrázka' ),
106105 'img_right' => array( 1, 'right', 'vpravo' ),
107106 'img_left' => array( 1, 'left', 'vľavo' ),
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -112,7 +112,6 @@
113113 'msg' => array( 0, 'הכללה:', 'MSG:' ),
114114 'subst' => array( 0, 'ס:', 'SUBST:' ),
115115 'msgnw' => array( 0, 'הכללת מקור', 'MSGNW:' ),
116 - 'end' => array( 0, '__סוף__', '__END__' ),
117116 'img_thumbnail' => array( 1, 'ממוזער', 'thumbnail', 'thumb' ),
118117 'img_manualthumb' => array( 1, 'ממוזער=$1', 'thumbnail=$1', 'thumb=$1'),
119118 'img_right' => array( 1, 'ימין', 'right' ),
Index: trunk/phase3/languages/messages/MessagesNds.php
@@ -30,7 +30,6 @@
3131 'namespace' => array( 1, 'NAMESPACE', 'NAAMRUUM' ),
3232 'subst' => array( 0, 'SUBST:' ),
3333 'msgnw' => array( 0, 'MSGNW:' ),
34 - 'end' => array( 0, '__END__', '__ENN__' ),
3534 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'duum' ),
3635 'img_right' => array( 1, 'right', 'rechts' ),
3736 'img_left' => array( 1, 'left', 'links' ),
Index: trunk/phase3/languages/messages/MessagesTt.php
@@ -66,7 +66,6 @@
6767 'namespace' => array( 1, 'İSEMARA', 'NAMESPACE'),
6868 'subst' => array( 0, 'TÖPÇEK:', 'SUBST:'),
6969 'msgnw' => array( 0, 'MSGNW:' ),
70 - 'end' => array( 0, '__AZAQ__', '__END__'),
7170 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
7271 'img_right' => array( 1, 'uñda', 'right'),
7372 'img_left' => array( 1, 'sulda', 'left'),
Index: trunk/phase3/languages/messages/MessagesAr.php
@@ -66,7 +66,6 @@
6767 'msg' => array( 0, 'MSG:' , 'رسالة:' ),
6868 'subst' => array( 0, 'SUBST:' , 'نسخ:' , 'نسخ_قالب:' ),
6969 'msgnw' => array( 0, 'MSGNW:' , 'مصدر:' , 'مصدر_قالب:' ),
70 - 'end' => array( 0, '__END__' , '__نهاية__', '__إنهاء__' ),
7170 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' , 'تصغير' ),
7271 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1' ,'تصغير=$1' ),
7372 'img_right' => array( 1, 'right' , 'يمين' ),
Index: trunk/phase3/languages/messages/MessagesBe.php
@@ -81,7 +81,6 @@
8282 'msg' => array( 0, 'MSG:', 'ПАВЕДАМЛЕНЬНЕ:' ),
8383 'subst' => array( 0, 'SUBST:', 'ПАДСТАНОЎКА:' ),
8484 'msgnw' => array( 0, 'MSGNW:', 'ПАВЕДАМЛЕНЬНЕ_БЯЗЬ_ВІКІ:' ),
85 - 'end' => array( 0, '__END__', '__КАНЕЦ__' ),
8685 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'значак', 'міні' ),
8786 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1', 'значак=$1', 'міні=$1' ),
8887 'img_right' => array( 1, 'right', 'справа' ),
Index: trunk/phase3/languages/messages/MessagesBg.php
@@ -70,7 +70,6 @@
7171 'namespace' => array( 1, 'NAMESPACE', 'ИМЕННОПРОСТРАНСТВО' ),
7272 'subst' => array( 0, 'SUBST:', 'ЗАМЕСТ:' ),
7373 'msgnw' => array( 0, 'MSGNW:', 'СЪОБЩNW:' ),
74 - 'end' => array( 0, '__END__', '__КРАЙ__' ),
7574 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'мини' ),
7675 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1', 'мини=$1'),
7776 'img_right' => array( 1, 'right', 'вдясно', 'дясно', 'д' ),
Index: trunk/phase3/languages/messages/MessagesSr_ec.php
@@ -157,7 +157,6 @@
158158 'toc' => array( 0, '__TOC__', '__САДРЖАЈ__' ),
159159 'noeditsection' => array( 0, '__NOEDITSECTION__', '__БЕЗ_ИЗМЕНА__', '__БЕЗИЗМЕНА__' ),
160160 'start' => array( 0, '__START__', '__ПОЧЕТАК__' ),
161 - 'end' => array( 0, '__END__', '__КРАЈ__' ),
162161 'currentmonth' => array( 1, 'CURRENTMONTH', 'ТРЕНУТНИМЕСЕЦ' ),
163162 'currentmonthname' => array( 1, 'CURRENTMONTHNAME', 'ТРЕНУТНИМЕСЕЦИМЕ' ),
164163 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN', 'ТРЕНУТНИМЕСЕЦГЕН' ),
Index: trunk/phase3/languages/messages/MessagesBs.php
@@ -37,7 +37,6 @@
3838 'toc' => array( 0, '__TOC__', '__SADRŽAJ__' ),
3939 'noeditsection' => array( 0, '__NOEDITSECTION__', '__BEZ_IZMENA__', '__BEZIZMENA__' ),
4040 'start' => array( 0, '__START__', '__POČETAK__' ),
41 - 'end' => array( 0, '__END__', '__KRAJ__' ),
4241 'currentmonth' => array( 1, 'CURRENTMONTH', 'TRENUTNIMJESEC' ),
4342 'currentmonthname' => array( 1, 'CURRENTMONTHNAME', 'TRENUTNIMJESECIME' ),
4443 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN', 'TRENUTNIMJESECROD' ),
Index: trunk/phase3/languages/messages/MessagesNn.php
@@ -105,7 +105,6 @@
106106 'namespace' => array( 1, 'NAMESPACE', 'NAMNEROM', 'NAVNEROM' ),
107107 'subst' => array( 0, 'SUBST:', 'LIMINN:' ),
108108 'msgnw' => array( 0, 'MSGNW:', 'IKWIKMELD:' ),
109 - 'end' => array( 0, '__END__', '__SLUTT__' ),
110109 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'mini', 'miniatyr' ),
111110 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1', 'mini=$1', 'miniatyr=$1' ),
112111 'img_right' => array( 1, 'right', 'høgre', 'høyre' ),
Index: trunk/phase3/languages/messages/MessagesRo.php
@@ -29,7 +29,6 @@
3030 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN', '{{NUMELUNACURENTAGEN}}' ),
3131 'subst' => array( 0, 'SUBST:' ),
3232 'msgnw' => array( 0, 'MSGNW:', 'MSJNOU:' ),
33 - 'end' => array( 0, '__END__', '__FINAL__' ),
3433 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
3534 'img_right' => array( 1, 'right' ),
3635 'img_left' => array( 1, 'left' ),
Index: trunk/phase3/languages/messages/MessagesRu.php
@@ -146,7 +146,6 @@
147147 'msg' => array( 0, 'MSG:', 'СООБЩ:'),
148148 'subst' => array( 0, 'SUBST:','ПОДСТ:'),
149149 'msgnw' => array( 0, 'MSGNW:', 'СООБЩ_БЕЗ_ВИКИ:'),
150 - 'end' => array( 0, '__END__','__КОНЕЦ__'),
151150 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'мини'),
152151 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1', 'мини=$1'),
153152 'img_right' => array( 1, 'right','справа'),
Index: trunk/phase3/languages/messages/MessagesGa.php
@@ -46,7 +46,6 @@
4747 'msg' => array( 0, 'MSG:', 'TCHT:' ),
4848 'subst' => array( 0, 'SUBST:', 'IONAD:' ),
4949 'msgnw' => array( 0, 'MSGNW:', 'TCHTFS:' ),
50 - 'end' => array( 0, '__END__', '__DEIREADH__' ),
5150 'img_thumbnail' => array( 1, 'thumbnail', 'thumb', 'mionsamhail', 'mion' ),
5251 'img_right' => array( 1, 'right', 'deas' ),
5352 'img_left' => array( 1, 'left', 'clé' ),
Index: trunk/phase3/languages/messages/MessagesPt.php
@@ -88,7 +88,6 @@
8989 'msg' => array( 0, 'MSG:' ),
9090 'subst' => array( 0, 'SUBST:' ),
9191 'msgnw' => array( 0, 'MSGNW:' ),
92 - 'end' => array( 0, '__END__' ),
9392 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
9493 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1'),
9594 'img_right' => array( 1, 'right', 'direita' ),
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -279,7 +279,6 @@
280280 'msg' => array( 0, 'MSG:' ),
281281 'subst' => array( 0, 'SUBST:' ),
282282 'msgnw' => array( 0, 'MSGNW:' ),
283 - 'end' => array( 0, '__END__' ),
284283 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
285284 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1'),
286285 'img_right' => array( 1, 'right' ),
Index: trunk/phase3/languages/messages/MessagesYi.php
@@ -102,7 +102,6 @@
103103 'msg' => array( 0, 'MSG:' ),
104104 'subst' => array( 0, 'SUBST:' ),
105105 'msgnw' => array( 0, 'MSGNW:' ),
106 - 'end' => array( 0, '__END__' ),
107106 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
108107 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1'),
109108 'img_right' => array( 1, 'right' ),
Index: trunk/phase3/languages/messages/MessagesSr_el.php
@@ -159,7 +159,6 @@
160160 'toc' => array( 0, '__TOC__', '__SADRŽAJ__' ),
161161 'noeditsection' => array( 0, '__NOEDITSECTION__', '__BEZ_IZMENA__', '__BEZIZMENA__' ),
162162 'start' => array( 0, '__START__', '__POČETAK__' ),
163 - 'end' => array( 0, '__END__', '__KRAJ__' ),
164163 'currentmonth' => array( 1, 'CURRENTMONTH', 'TRENUTNIMESEC' ),
165164 'currentmonthname' => array( 1, 'CURRENTMONTHNAME', 'TRENUTNIMESECIME' ),
166165 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN', 'TRENUTNIMESECGEN' ),

Comments

#Comment by Kenny yeoh (talk | contribs)   17:11, 30 May 2013

Help my account