http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100285
Revision: 100285
Author: jeroendedauw
Date: 2011-10-19 22:13:46 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
clarified docs
Modified Paths:
--------------
trunk/extensions/Validator/includes/Parameter.php
Modified: trunk/extensions/Validator/includes/Parameter.php
===================================================================
--- trunk/extensions/Validator/includes/Parameter.php 2011-10-19 22:11:15 UTC
(rev 100284)
+++ trunk/extensions/Validator/includes/Parameter.php 2011-10-19 22:13:46 UTC
(rev 100285)
@@ -792,7 +792,10 @@
}
/**
- * Sets a description message for the parameter.
+ * Sets a description for the parameter.
+ * This is a string describing the parameter, if you have a message
+ * key, ie something that can be passed to wfMsg, then use the
+ * setMessage method instead.
*
* @since 0.4.3
*
@@ -816,6 +819,9 @@
/**
* Sets a message for the parameter that will act as description.
+ * This should be a message key, ie something that can be passed
+ * to wfMsg. Not an actual text. If you do not have a message key,
+ * but only a text, use setDescription instead.
*
* @since 0.4.9
*
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs