r112412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112411‎ | r112412 | r112413 >
Date:20:53, 25 February 2012
Author:siebrand
Status:resolved
Tags:i18nreview 
Comment:
Follow-up r112410: (bug 34702) Use localised parentheses for comment, too.
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1399,7 +1399,8 @@
14001400 return '';
14011401 } else {
14021402 $formatted = self::formatComment( $comment, $title, $local );
1403 - return " <span class=\"comment\">($formatted)</span>";
 1403+ $formatted = wfMessage( 'parentheses' )->rawParams( $formatted );
 1404+ return " <span class=\"comment\">$formatted</span>";
14041405 }
14051406 }
14061407

Follow-up revisions

RevisionCommit summaryAuthorDate
r112424Follow-up r112410, r112412: Cheaper processing using plain().siebrand11:49, 26 February 2012
r112433(bug 34702) Localised parentheses are now used in more special pages.siebrand13:08, 26 February 2012
r112589(bug 34702) More localised parentheses. Patch contributed by Yusuke Matsubara.siebrand11:56, 28 February 2012
r112591(bug 34702) More localised parentheses.siebrand12:41, 28 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112410(bug 34702) Use localised parentheses in Special:Contributions.siebrand20:42, 25 February 2012

Status & tagging log