From: Antoine Musso Date: Mon, 25 Jun 2012 22:06:58 +0000 (+0200) Subject: document ErrorPageError constructor parameters X-Git-Tag: 1.31.0-rc.0~23228 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=af4b00448560583c979c90c79231d39f76917280;p=lhc%2Fweb%2Fwiklou.git document ErrorPageError constructor parameters ErrorPageError can receive either a message object or a message key Change-Id: I8e51d802c2ab333fd61069a713c39dda0f418232 --- diff --git a/includes/Exception.php b/includes/Exception.php index 9f6d5bdc6b..4fc66db42d 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -292,7 +292,13 @@ class ErrorPageError extends MWException { public $title, $msg, $params; /** + * @todo document + * * Note: these arguments are keys into wfMsg(), not text! + * + * @param $title A title + * @param $msg String|Message . In string form, should be a message key + * @param $params Array Array to wfMsg() */ function __construct( $title, $msg, $params = null ) { $this->title = $title;