r114075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114074‎ | r114075 | r114076 >
Date:21:47, 17 March 2012
Author:jeroendedauw
Status:reverted
Tags:gerritmigration 
Comment:
follow up to r114067, use correct language
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1940,7 +1940,8 @@
19411941
19421942 if ( $value > 0 || ( $name == 'seconds' && empty( $segments ) ) ) {
19431943 $seconds -= $value * $length;
1944 - $segments[] = wfMsgExt( 'duration-' . $name, 'parsemag', $value );
 1944+ $message = new Message( 'duration-' . $name, array( $value ) );
 1945+ $segments[] = $message->inLanguage( $this )->escaped();
19451946 }
19461947 }
19471948

Follow-up revisions

RevisionCommit summaryAuthorDate
r114076follow up to r114075, also change compat code in EPjeroendedauw21:51, 17 March 2012
r114326Revert r114067, r114071, r114075, r114079, r114081, r114082, r114084, r114086......catrope23:03, 20 March 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114067adding a duration function to language that converts seconds to textjeroendedauw20:58, 17 March 2012

Status & tagging log