http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94253
Revision: 94253
Author: platonides
Date: 2011-08-11 15:29:48 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
Fix comment, document $fail parameter.
Modified Paths:
--------------
trunk/tools/ToolserverI18N/TsIntuition.php
Modified: trunk/tools/ToolserverI18N/TsIntuition.php
===================================================================
--- trunk/tools/ToolserverI18N/TsIntuition.php 2011-08-11 15:29:25 UTC (rev
94252)
+++ trunk/tools/ToolserverI18N/TsIntuition.php 2011-08-11 15:29:48 UTC (rev
94253)
@@ -369,6 +369,7 @@
* - * 'htmlspecialchars' (alias of 'html')
* - * 'htmlentities' (foreign/UTF-8 chars converted as well)
*
+ * @param $fail string Alternate value to return in case the message
doesn't exist
*/
public function msg( $key = 0, $options = array(), $fail = null ) {
@@ -637,7 +638,7 @@
$this->errTrigger( "Invalid textdomain \"$domain\"",
__METHOD__, E_NOTICE );
return false;
}
- // Sanatize domainnames (case-insensitive)
+ // Sanitize domainnames (case-insensitive)
$domain = ucfirst( strtolower( $domain ) );
// Don't load if already loaded
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs