r47545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47544‎ | r47545 | r47546 >
Date:13:11, 20 February 2009
Author:raymond
Status:ok
Tags:
Comment:
* Move leading space from 'trackbackremove' to 'trackback'/'trackbackexcerpt'
* Some languages have removed the leading space already which leads to a wrong output
* Make 'trackback'/'trackbackexcerpt' optional for Translatewiki as some languages need other spacing and/or punctuation marks
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -108,8 +108,6 @@
109109 'statistics-summary',
110110 'statistics-footer',
111111 'talkpagetext',
112 - 'trackback',
113 - 'trackbackexcerpt',
114112 'uploadfooter',
115113 'listgrouprights-link',
116114 'search-interwiki-custom',
@@ -333,6 +331,8 @@
334332 'recentchangeslinked-backlink',
335333 'diff-with-additional',
336334 'pagetitle-view-mainpage',
 335+ 'trackback',
 336+ 'trackbackexcerpt',
337337 );
338338
339339 /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -3564,9 +3564,9 @@
35653565 # Trackbacks
35663566 'trackbackbox' => 'Trackbacks for this page:<br />
35673567 $1',
3568 -'trackback' => '; $4$5 : [$2 $1]', # do not translate or duplicate this message to other languages
3569 -'trackbackexcerpt' => '; $4$5 : [$2 $1]: <nowiki>$3</nowiki>', # do not translate or duplicate this message to other languages
3570 -'trackbackremove' => ' ([$1 Delete])',
 3568+'trackback' => '; $4 $5: [$2 $1]', # only translate this message to other languages if you have to change it
 3569+'trackbackexcerpt' => '; $4 $5: [$2 $1]: <nowiki>$3</nowiki>', # only translate this message to other languages if you have to change it
 3570+'trackbackremove' => '([$1 Delete])',
35713571 'trackbacklink' => 'Trackback',
35723572 'trackbackdeleteok' => 'The trackback was successfully deleted.',
35733573

Status & tagging log