params['editorID'] ) && $this->params['editorID'] ) { $editor = User::newFromId( $this->params['editorID'] ); // B/C, only the name might be given. } else { # FIXME: newFromName could return false on a badly configured wiki. $editor = User::newFromName( $this->params['editor'], false ); } $enotif->actuallyNotifyOnPageChange( $editor, $this->title, $this->params['timestamp'], $this->params['summary'], $this->params['minorEdit'], $this->params['oldid'], $this->params['watchers'] ); return true; } }