30 parent::__construct(
'enotifNotify',
$title, $params );
33 public function run() {
36 if ( isset( $this->params[
'editorID'] ) && $this->params[
'editorID'] ) {
40 # @todo FIXME: newFromName could return false on a badly configured wiki.
43 $enotif->actuallyNotifyOnPageChange(
46 $this->params[
'timestamp'],
47 $this->params[
'summary'],
48 $this->params[
'minorEdit'],
49 $this->params[
'oldid'],
50 $this->params[
'watchers'],
51 $this->params[
'pageStatus']
This module processes the email notifications when the current page is changed.
Send an email notification.
__construct(Title $title, array $params)
Class to both describe a background job and handle jobs.
static newFromName( $name, $validate='valid')
static newFromId( $id)
Static factory method for creation from a given user ID.