From: Alexandre Emsenhuber Date: Sun, 6 Mar 2011 16:51:56 +0000 (+0000) Subject: Fix for r78512: set the default value to "view" for the action parameter X-Git-Tag: 1.31.0-rc.0~31607 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=56a0a92abb16e060a9ef45a57ad5c099329c403e;p=lhc%2Fweb%2Fwiklou.git Fix for r78512: set the default value to "view" for the action parameter --- 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' ) {