From 56a0a92abb16e060a9ef45a57ad5c099329c403e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 6 Mar 2011 16:51:56 +0000 Subject: [PATCH] Fix for r78512: set the default value to "view" for the action parameter --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 1d229b0252..ff1bd0de9c 100644 --- a/index.php +++ b/index.php @@ -56,7 +56,7 @@ $wgTitle = $mediaWiki->checkInitialQueries( $wgRequest ); wfProfileOut( 'main-misc-setup' ); -$action = $wgRequest->getVal( 'action' ); +$action = $wgRequest->getVal( 'action', 'view' ); # Send Ajax requests to the Ajax dispatcher. if( $wgUseAjax && $action == 'ajax' ) { -- 2.20.1