r47199 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47198‎ | r47199 | r47200 >
Date:21:40, 12 February 2009
Author:raymond
Status:ok
Tags:
Comment:
Replace hardcoded text with existing message.
Modified paths:
  • /trunk/extensions/Todo/SpecialTodo.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Todo/SpecialTodo.php
@@ -137,7 +137,7 @@
138138 return $item->setTitle( $request->getText( 'wpTitle' ) );
139139 break;
140140 default:
141 - return new WikiError( "Unrecognized type" );
 141+ return new WikiError( wfMsgHtml( 'todo-unrecognize-type' ) );
142142 }
143143 }
144144

Status & tagging log