From: Aaron Schulz Date: Wed, 7 Jan 2009 21:09:18 +0000 (+0000) Subject: (bug 16923) New parameter value diff=review for the URL X-Git-Tag: 1.31.0-rc.0~43508 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=220c59be9a0862ffa2ba15f0f333cad7f00f18bd;p=lhc%2Fweb%2Fwiklou.git (bug 16923) New parameter value diff=review for the URL --- diff --git a/StartProfiler.php b/StartProfiler.php index 3fcf69e6e5..6de8d52082 100644 --- a/StartProfiler.php +++ b/StartProfiler.php @@ -1,6 +1,7 @@ mNewid = intval($old); - $this->mOldid = $this->mTitle->getPreviousRevisionID( $this->mNewid ); - } elseif ( 'next' === $new ) { # Show diff between revision $old and the previous one. # Get previous one from DB. @@ -62,10 +59,10 @@ class DifferenceEngine { # revision is cur, which is "0". $this->mNewid = 0; } - } else { $this->mOldid = intval($old); $this->mNewid = intval($new); + wfRunHooks( 'NewDifferenceEngine', array(&$titleObj, &$this->mOldid, &$this->mNewid, $old, $new) ); } $this->mRcidMarkPatrolled = intval($rcid); # force it to be an integer $this->mRefreshCache = $refreshCache;