X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/includes/RawMessage.php diff --git a/includes/RawMessage.php b/includes/RawMessage.php new file mode 100644 index 00000000..9a0d947d --- /dev/null +++ b/includes/RawMessage.php @@ -0,0 +1,72 @@ +message = $text; + } + + /** + * Fetch the message (in this case, the key). + * + * @return string + */ + public function fetchMessage() { + // Just in case the message is unset somewhere. + if ( $this->message === null ) { + $this->message = $this->key; + } + + return $this->message; + } + +}