r85052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85051‎ | r85052 | r85053 >
Date:23:06, 30 March 2011
Author:krinkle
Status:deferred
Tags:
Comment:
trigger a notice when requesting an undefined message
Modified paths:
  • /trunk/tools/ToolserverI18N/TsIntuition.php (modified) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/TsIntuition.php
@@ -358,6 +358,7 @@
359359 // Just in case, one last check:
360360 $rawMsg = $this->rawMsg( $domain, $lang, $key );
361361 if ( is_null( $rawMsg ) ) {
 362+ $this->errTrigger( "Message \"$key\" in \"$domain\" undefined", __METHOD__, E_NOTICE );
362363 // Fall back to a simple [keyname]
363364 return $this->bracketMsg( $key );
364365 }

Status & tagging log