From 5793639aa7d7a2bf2f505dc522a1292803a056b7 Mon Sep 17 00:00:00 2001 From: Leon Weber Date: Sat, 23 Dec 2006 22:05:26 +0000 Subject: [PATCH] * Moved the timestamps to the begin of each line in recentchanges. --- RELEASE-NOTES | 1 + includes/ChangesList.php | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index da8b598e2d..5520e6ce8a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/ChangesList.php b/includes/ChangesList.php index a2c1a265e1..9ba4a805bb 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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 .= '
  • '; + $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() . ' . . ' ); } -- 2.20.1