r83388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83387‎ | r83388 | r83389 >
Date:16:51, 6 March 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r78512: set the default value to "view" for the action parameter
Modified paths:
  • /trunk/phase3/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/index.php
@@ -56,7 +56,7 @@
5757
5858 wfProfileOut( 'main-misc-setup' );
5959
60 -$action = $wgRequest->getVal( 'action' );
 60+$action = $wgRequest->getVal( 'action', 'view' );
6161
6262 # Send Ajax requests to the Ajax dispatcher.
6363 if( $wgUseAjax && $action == 'ajax' ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78512Per ^demon, follow-up r78260: introduced MediaWiki::getAction() to get the ac...ialex20:11, 16 December 2010

Status & tagging log