* Moved the timestamps to the begin of each line in recentchanges.
authorLeon Weber <leon@users.mediawiki.org>
Sat, 23 Dec 2006 22:05:26 +0000 (22:05 +0000)
committerLeon Weber <leon@users.mediawiki.org>
Sat, 23 Dec 2006 22:05:26 +0000 (22:05 +0000)
RELEASE-NOTES
includes/ChangesList.php

index da8b598..5520e6c 100644 (file)
@@ -398,6 +398,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 7612) Remove superfluous link to Special:Categories from result items
   on Special:Mostcategories
 * {{PLURAL:}} now handles formatted numbers correctly
+* Moved the timestamps to the begin of each line in recentchanges
 
 == Languages updated ==
 
index a2c1a26..9ba4a80 100644 (file)
@@ -181,13 +181,13 @@ class ChangesList {
                global $wgContLang;
                $articlelink .= $wgContLang->getDirMark();
 
-               $s .= ' '.$articlelink;
+               $s .= ' ' . $articlelink . ' . . ';
        }
 
        function insertTimestamp(&$s, $rc) {
                global $wgLang;
                # Timestamp
-               $s .= '; ' . $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . ';
+               $s .= $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . ';
        }
 
        /** Insert links to user page, user talk page and eventually a blocking link */
@@ -237,6 +237,7 @@ class OldChangesList extends ChangesList {
                $this->insertDateHeader($s,$rc_timestamp);
 
                $s .= '<li>';
+               $this->insertTimestamp($s,$rc);
 
                // moved pages
                if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) {
@@ -264,8 +265,6 @@ class OldChangesList extends ChangesList {
 
                wfProfileIn( $fname.'-rest' );
 
-               $this->insertTimestamp($s,$rc);
-
                if( $wgRCShowChangedSize ) {
                        $s .= ( $rc->getCharacterDifference() == '' ? '' : $rc->getCharacterDifference() . ' . . ' );
                }