r104158 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104157‎ | r104158 | r104159 >
Date:11:38, 24 November 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Provide dummy default value to avoid ugly exceptions
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialFirstSteps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialFirstSteps.php
@@ -340,7 +340,7 @@
341341 $wgCaptchaTriggers = null;
342342
343343 $language = $wgRequest->getVal( 'primary-language' );
344 - $message = $wgRequest->getText( 'message' );
 344+ $message = $wgRequest->getText( 'message', '...' );
345345 $params = array(
346346 'action' => 'threadaction',
347347 'threadaction' => 'newthread',

Status & tagging log