* (bug 26937) [Installer] Fix for Javascript-opened sections being incorrectly open...
[lhc/web/wiklou.git] / index.php
index ab8cd5c..ff1bd0d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -13,7 +13,7 @@
  *
  * ----------
  *
- * Copyright (C) 2001-2010 Magnus Manske, Brion Vibber, Lee Daniel Crocker,
+ * Copyright (C) 2001-2011 Magnus Manske, Brion Vibber, Lee Daniel Crocker,
  * Tim Starling, Erik Möller, Gabriel Wicke, Ævar Arnfjörð Bjarmason,
  * Niklas Laxström, Domas Mituzas, Rob Church, Yuri Astrakhan, Aryeh Gregor,
  * Aaron Schulz, Andrew Garrett, Raimond Spekking, Alexandre Emsenhuber
@@ -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' ) {