X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWikiError.php;h=251c1742e93e151aa1d65cf58f1e05ed848ec434;hb=3141337d77504b52045406c540a371f3444d40fc;hp=41edb2f3760f8f17019b25435087272f554b3e41;hpb=b8d6dc383cda56f78ff0e8b66977fda3a0ca0d2f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiError.php b/includes/WikiError.php index 41edb2f376..251c1742e9 100644 --- a/includes/WikiError.php +++ b/includes/WikiError.php @@ -75,6 +75,16 @@ class WikiErrorMsg extends WikiError { $args = func_get_args(); array_shift( $args ); $this->mMessage = wfMsgReal( $message, $args, true ); + $this->mMsgKey = $message; + $this->mMsgArgs = $args; + } + + function getMessageKey() { + return $this->mMsgKey; + } + + function getMessageArgs() { + return $this->mMsgArgs; } }