document ErrorPageError constructor parameters
authorAntoine Musso <hashar@free.fr>
Mon, 25 Jun 2012 22:06:58 +0000 (00:06 +0200)
committerAntoine Musso <hashar@free.fr>
Tue, 26 Jun 2012 14:00:54 +0000 (16:00 +0200)
ErrorPageError can receive either a message object or a message key

Change-Id: I8e51d802c2ab333fd61069a713c39dda0f418232

includes/Exception.php

index 9f6d5bd..4fc66db 100644 (file)
@@ -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;