From: Brion Vibber Date: Mon, 11 Jul 2011 23:41:49 +0000 (+0000) Subject: Revert r91870, r91873 -- seems to be trying to remove the 'view' action on diff views... X-Git-Tag: 1.31.0-rc.0~28922 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=5cebb0f46b5f519eadae0ff872e87b79a40e2032;p=lhc%2Fweb%2Fwiklou.git Revert r91870, r91873 -- seems to be trying to remove the 'view' action on diff views; diffs are a subset of regular page views, like old page views, and don't have a separate action. --- diff --git a/includes/Article.php b/includes/Article.php index 5d9a15a3f3..d7c8a54a8f 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -371,8 +371,6 @@ class Article extends Page { # If we got diff in the query, we want to see a diff page instead of the article. if ( $wgRequest->getCheck( 'diff' ) ) { wfDebug( __METHOD__ . ": showing diff page\n" ); - # Manually setting action=diff. Bug 25800 - $wgRequest->setVal( 'action', 'historysubmit' ); $this->showDiffPage(); wfProfileOut( __METHOD__ );