function msgWiki($str) { // exists if ($this->campaign && wfMessage("customusertemplate-{$this->campaign}-{$str}")->exists()) { $this->msgWikiCustom("customusertemplate-{$this->campaign}-{$str}", false); } else { parent::msgWiki($str); } }