Revert r91870, r91873 -- seems to be trying to remove the 'view' action on diff views...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Jul 2011 23:41:49 +0000 (23:41 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 11 Jul 2011 23:41:49 +0000 (23:41 +0000)
includes/Article.php

index 5d9a15a..d7c8a54 100644 (file)
@@ -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__ );