r99117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99116‎ | r99117 | r99118 >
Date:16:36, 6 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r99116, didn't notice $lang was used lower down
Modified paths:
  • /trunk/phase3/includes/specials/SpecialProtectedtitles.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php
@@ -90,7 +90,8 @@
9191
9292 $description_items[] = $protType;
9393
94 - $expiry = strlen( $row->pt_expiry ) ? $this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity;
 94+ $lang = $this->getLang();
 95+ $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity;
9596 if( $expiry != $infinity ) {
9697 $expiry_description = wfMsg(
9798 'protect-expiring-local',

Sign-offs

UserFlagDate
Nikerabbitinspected17:49, 6 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97658* Made IndexPager extend ContextSource...ialex20:00, 20 September 2011
r99116-rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal ...reedy16:33, 6 October 2011

Status & tagging log