http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90117

Revision: 90117
Author:   ialex
Date:     2011-06-15 16:33:13 +0000 (Wed, 15 Jun 2011)
Log Message:
-----------
Per Brion, follow-up r86784: doucment that wfMsg() and related also accept 
message parameters as an array in the second parameter

Modified Paths:
--------------
    trunk/phase3/includes/GlobalFunctions.php

Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php   2011-06-15 15:59:07 UTC (rev 
90116)
+++ trunk/phase3/includes/GlobalFunctions.php   2011-06-15 16:33:13 UTC (rev 
90117)
@@ -705,9 +705,12 @@
  * @param $key String: lookup key for the message, usually
  *    defined in languages/Language.php
  *
- * This function also takes extra optional parameters (not
- * shown in the function definition), which can be used to
- * insert variable text into the predefined message.
+ * Parameters to the message, which can be used to insert variable text into
+ * it, can be passed to this function in the following formats:
+ * - One per argument, starting at the second parameter
+ * - As an array in the second parameter
+ * These are not shown in the function definition.
+ *
  * @return String
  */
 function wfMsg( $key ) {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to