http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56231

Revision: 56231
Author:   churchofemacs
Date:     2009-09-12 17:06:11 +0000 (Sat, 12 Sep 2009)

Log Message:
-----------
Adjust the time according to the user configuration on Special:Revisiondelete

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/specials/SpecialRevisiondelete.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2009-09-12 13:44:23 UTC (rev 56230)
+++ trunk/phase3/RELEASE-NOTES  2009-09-12 17:06:11 UTC (rev 56231)
@@ -492,6 +492,7 @@
 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
   correct type="text" parameter
 * (bug 482) Don't include TOC in the printable version if it has been hidden
+* Adjust the time according to the user configuration on Special:Revisiondelete
 
 == API changes in 1.16 ==
 

Modified: trunk/phase3/includes/specials/SpecialRevisiondelete.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRevisiondelete.php    2009-09-12 
13:44:23 UTC (rev 56230)
+++ trunk/phase3/includes/specials/SpecialRevisiondelete.php    2009-09-12 
17:06:11 UTC (rev 56231)
@@ -1132,7 +1132,7 @@
         */
        protected function getRevisionLink() {
                global $wgLang;
-               $date = $wgLang->timeanddate( $this->revision->getTimestamp() );
+               $date = $wgLang->timeanddate( $this->revision->getTimestamp(), 
true );
                if ( $this->isDeleted() && !$this->canView() ) {
                        return $date;
                }
@@ -1254,7 +1254,7 @@
        protected function getRevisionLink() {
                global $wgLang;
                $undelete = SpecialPage::getTitleFor( 'Undelete' );
-               $date = $wgLang->timeanddate( $this->revision->getTimestamp() );
+               $date = $wgLang->timeanddate( $this->revision->getTimestamp(), 
true );
                if ( $this->isDeleted() && !$this->canView() ) {
                        return $date;
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to