From: Brion Vibber Date: Sun, 10 Sep 2006 21:46:54 +0000 (+0000) Subject: * Clear newtalk marker on diff links with explicit current revision number X-Git-Tag: 1.31.0-rc.0~55797 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=f8999577fd4b008ae760d2b40a4919a420a9d95a;p=lhc%2Fweb%2Fwiklou.git * Clear newtalk marker on diff links with explicit current revision number --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 614601afbf..5699aca4dc 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -191,6 +191,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 6888) PHP error for call to getTimestamp() on bad input to Special:Revisiondelete * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required if texvc is rebuilt. * (bug 7279) Use wfBaseName in place of basename() in more places +* Clear newtalk marker on diff links with explicit current revision number == Languages updated == diff --git a/includes/Article.php b/includes/Article.php index 368210f4ff..f32e15e73c 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -658,8 +658,10 @@ class Article { // DifferenceEngine directly fetched the revision: $this->mRevIdFetched = $de->mNewid; $de->showDiffPage(); - - if( $diff == 0 ) { + + // Needed to get the page's current revision + $this->loadPageData(); + if( $diff == 0 || $diff == $this->mLatest ) { # Run view updates for current revision only $this->viewUpdates(); }