r90386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90385‎ | r90386 | r90387 >
Date:07:28, 19 June 2011
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Fixed doc typo in r90385
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -3411,7 +3411,7 @@
34123412 /**
34133413 * @todo Document
34143414 * @param $seconds int|float
3415 - * @param $format String Optional, one of ("avoidseconds","avoidseconds"):
 3415+ * @param $format String Optional, one of ("avoidseconds","avoidminutes"):
34163416 * If "avoidminutes" don't mention minutes if $seconds >= 1 hour
34173417 * If "avoidseconds" don't mention seconds/minutes if $seconds > 2 days
34183418 * @return string

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90385* Added (and use) $format param to formatTimePeriod() to make output less ver...aaron07:25, 19 June 2011

Comments

#Comment by Moejoe000 (talk | contribs)   08:26, 19 June 2011

Also the two proceeding lines should be corrected: - * If "avoidminutes" don't mention minutes if $seconds >= 1 hour - * If "avoidseconds" don't mention seconds/minutes if $seconds > 2 days + * If "avoidseconds" don't mention seconds if $seconds >= 1 hour + * If "avoidminutes" don't mention seconds/minutes if $seconds > 2 days

Thnks.

Status & tagging log