r56231 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56230‎ | r56231 | r56232 >
Date:17:06, 12 September 2009
Author:churchofemacs
Status:ok
Tags:
Comment:
Adjust the time according to the user configuration on Special:Revisiondelete
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -1132,7 +1132,7 @@
11331133 */
11341134 protected function getRevisionLink() {
11351135 global $wgLang;
1136 - $date = $wgLang->timeanddate( $this->revision->getTimestamp() );
 1136+ $date = $wgLang->timeanddate( $this->revision->getTimestamp(), true );
11371137 if ( $this->isDeleted() && !$this->canView() ) {
11381138 return $date;
11391139 }
@@ -1254,7 +1254,7 @@
12551255 protected function getRevisionLink() {
12561256 global $wgLang;
12571257 $undelete = SpecialPage::getTitleFor( 'Undelete' );
1258 - $date = $wgLang->timeanddate( $this->revision->getTimestamp() );
 1258+ $date = $wgLang->timeanddate( $this->revision->getTimestamp(), true );
12591259 if ( $this->isDeleted() && !$this->canView() ) {
12601260 return $date;
12611261 }
Index: trunk/phase3/RELEASE-NOTES
@@ -492,6 +492,7 @@
493493 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
494494 correct type="text" parameter
495495 * (bug 482) Don't include TOC in the printable version if it has been hidden
 496+* Adjust the time according to the user configuration on Special:Revisiondelete
496497
497498 == API changes in 1.16 ==
498499

Status & tagging log