Con 1447 notifications

Please use $wgXXX globals instead of $this->wg->XX