function getMessage($key) { if (isset($this->mMessagesCv[$key])) { return $this->mMessagesCv[$key]; } else { return parent::getMessage($key); } }
function getMessage($key) { global $wgAllMessagesCv; return isset($wgAllMessagesCv[$key]) ? $wgAllMessagesCv[$key] : parent::getMessage($key); }