From: Brion Vibber Date: Sat, 23 Dec 2006 22:13:11 +0000 (+0000) Subject: Revert r18540; unilateral change to recentchanges formatting X-Git-Tag: 1.31.0-rc.0~54784 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=17dcfece5ae090838d63e4223a6c78314774d003;p=lhc%2Fweb%2Fwiklou.git Revert r18540; unilateral change to recentchanges formatting --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5520e6ce8a..da8b598e2d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -398,7 +398,6 @@ 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 9ba4a805bb..a2c1a265e1 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,7 +237,6 @@ 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 ) { @@ -265,6 +264,8 @@ class OldChangesList extends ChangesList { wfProfileIn( $fname.'-rest' ); + $this->insertTimestamp($s,$rc); + if( $wgRCShowChangedSize ) { $s .= ( $rc->getCharacterDifference() == '' ? '' : $rc->getCharacterDifference() . ' . . ' ); }