Currently they are stored with a recipient user_id set to 0, see for example User:Okeyes in http://www.mediawiki.org/w/index.php?title=User_talk:LWelling&diff=prev&oldid=656919
Version: unspecified
Severity: normal
Currently they are stored with a recipient user_id set to 0, see for example User:Okeyes in http://www.mediawiki.org/w/index.php?title=User_talk:LWelling&diff=prev&oldid=656919
Version: unspecified
Severity: normal
Looks like the code only saves the user_id, so pretty much any action where it's 0, it should be ignored/skipped/whatever, as there's no way to differentiate between anon/non existent users...
In the maintenance script:
$userId = intval( $row->eeb_user_id ); if ( $userId && $userId > $startUserId ) { $emailBatch = MWEchoEmailBatch::newFromUserId( $userId );