r99136 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99135‎ | r99136 | r99137 >
Date:20:19, 6 October 2011
Author:raymond
Status:ok
Tags:
Comment:
Fix stupid typo in r99082. Thanks to Niklas for CR
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockList.php (modified) (history)
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockList.php
@@ -259,7 +259,7 @@
260260
261261 switch( $name ) {
262262 case 'ipb_timestamp':
263 - $formatted = $this->getLang()->timeanddate( $value, /* User preference timezome */ true );
 263+ $formatted = $this->getLang()->timeanddate( $value, /* User preference timezone */ true );
264264 break;
265265
266266 case 'ipb_target':
@@ -285,7 +285,7 @@
286286 break;
287287
288288 case 'ipb_expiry':
289 - $formatted = $this->getLang()->formatExpiry( $value, /* User preference timezome */ true );
 289+ $formatted = $this->getLang()->formatExpiry( $value, /* User preference timezone */ true );
290290 if( $this->getUser()->isAllowed( 'block' ) ){
291291 if( $row->ipb_auto ){
292292 $links[] = Linker::linkKnown(
Index: trunk/phase3/languages/Language.php
@@ -3541,7 +3541,7 @@
35423542 : $infinity;
35433543 } else {
35443544 return $format === true
3545 - ? $this->timeanddate( $expiry, /* User preference timezome */ true )
 3545+ ? $this->timeanddate( $expiry, /* User preference timezone */ true )
35463546 : wfTimestamp( $format, $expiry );
35473547 }
35483548 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r100379REL1_18 MFT r99135, r99136, r99138, r99154, r99172, r99250, r99252, r99254, r...reedy21:22, 20 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99082Fix a regression from 1.17: Show date/times in user preference timezone....raymond09:52, 6 October 2011

Status & tagging log