From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:00:47 +0200 Subject: applying patch to version 1.15.0 --- includes/WikiError.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'includes/WikiError.php') diff --git a/includes/WikiError.php b/includes/WikiError.php index 41edb2f3..251c1742 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; } } -- cgit v1.2.3-54-g00ecf