* (bug 26937) [Installer] Fix for Javascript-opened sections being incorrectly open...
[lhc/web/wiklou.git] / index.php
index 1d229b0..ff1bd0d 100644 (file)
--- 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' ) {