function efNewUserNotif($user = NULL) { global $wgUser; # Backwards-compatible fiddling if (is_null($user)) { $user =& $wgUser; } $notifier = new NewUserNotifier(); $notifier->execute($user); }