32 parent::__construct(
'enotifNotify', $title,
$params );
35 public function run() {
38 if ( isset( $this->params[
'editorID'] ) && $this->params[
'editorID'] ) {
39 $editor = User::newFromId( $this->params[
'editorID'] );
42 # @todo FIXME: newFromName could return false on a badly configured wiki.
43 $editor = User::newFromName( $this->params[
'editor'],
false );
45 $enotif->actuallyNotifyOnPageChange(
48 $this->params[
'timestamp'],
49 $this->params[
'summary'],
50 $this->params[
'minorEdit'],
51 $this->params[
'oldid'],
52 $this->params[
'watchers'],
53 $this->params[
'pageStatus']
array $params
The job parameters.
Find watchers and create email notifications after a page is changed.
Send an email notification.
__construct(Title $title, array $params)
Describe and execute a background job.