r94253 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94252‎ | r94253 | r94254 >
Date:15:29, 11 August 2011
Author:platonides
Status:ok
Tags:
Comment:
Fix comment, document $fail parameter.
Modified paths:
  • /trunk/tools/ToolserverI18N/TsIntuition.php (modified) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/TsIntuition.php
@@ -369,6 +369,7 @@
370370 * - * 'htmlspecialchars' (alias of 'html')
371371 * - * 'htmlentities' (foreign/UTF-8 chars converted as well)
372372 *
 373+ * @param $fail string Alternate value to return in case the message doesn't exist
373374 */
374375 public function msg( $key = 0, $options = array(), $fail = null ) {
375376
@@ -637,7 +638,7 @@
638639 $this->errTrigger( "Invalid textdomain \"$domain\"", __METHOD__, E_NOTICE );
639640 return false;
640641 }
641 - // Sanatize domainnames (case-insensitive)
 642+ // Sanitize domainnames (case-insensitive)
642643 $domain = ucfirst( strtolower( $domain ) );
643644
644645 // Don't load if already loaded

Status & tagging log