From af4b00448560583c979c90c79231d39f76917280 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 26 Jun 2012 00:06:58 +0200 Subject: [PATCH] document ErrorPageError constructor parameters ErrorPageError can receive either a message object or a message key Change-Id: I8e51d802c2ab333fd61069a713c39dda0f418232 --- includes/Exception.php | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.20.1