diff options
Diffstat (limited to 'includes/WikiError.php')
-rw-r--r-- | includes/WikiError.php | 10 |
1 files changed, 10 insertions, 0 deletions
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; } } |