From: Aaron Schulz Date: Thu, 9 Oct 2008 03:41:29 +0000 (+0000) Subject: Stop watchlist links from hoping around from bold to non-bold X-Git-Tag: 1.31.0-rc.0~44831 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=05e2726ec8c96ee33514e1c854ae6d8f032feaf2;p=lhc%2Fweb%2Fwiklou.git Stop watchlist links from hoping around from bold to non-bold --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 561ad1d3c3..05ad2b6e62 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -399,7 +399,9 @@ class EmailNotification { $this->sendMails(); - if ( $wgShowUpdatedMarker || $wgEnotifWatchlist ) { + $latestTimestamp = Revision::getTimestampFromId( $title->getLatestRevID() ); + // Do not update watchlists if something else already did. + if ( $timestamp >= $latestTimestamp && ($wgShowUpdatedMarker || $wgEnotifWatchlist) ) { # Mark the changed watch-listed page with a timestamp, so that the page is # listed with an "updated since your last visit" icon in the watch list. Do # not do this to users for their own edits.