/**
  * Place the Rising-star-usertalk-msg on the user's talk page 
  * and emails the user
  */
 public function notifyUserOfRisingStar($title, $name)
 {
     global $wgUser, $wgLang;
     $user = $wgUser->getName();
     $real_name = User::whoIsReal($wgUser->getID());
     if ($real_name == "") {
         $real_name = $user;
     }
     $dateStr = $wgLang->timeanddate(wfTimestampNow());
     $wikitext = "";
     $article = "";
     $userObj = new User();
     $userObj->setName($name);
     $user_talk = $userObj->getTalkPage();
     $comment = '{{subst:Rising-star-usertalk-msg|[[' . $title->getText() . ']]}}' . "\n";
     $formattedComment = wfMsg('postcomment_formatted_comment', $dateStr, $user, $real_name, $comment);
     if ($user_talk->getArticleId() > 0) {
         $rev = Revision::newFromTitle($user_talk);
         $wikitext = $rev->getText();
     }
     $article = new Article($user_talk);
     $wikitext .= "\n\n{$formattedComment}\n\n";
     $article->doEdit($wikitext, wfMsg('nab-rs-usertalk-editsummary'));
     // Send author email notification
     AuthorEmailNotification::notifyRisingStar($title->getText(), $name, $real_name, $user);
 }