public function processAddMember($formData)
 {
     if (!isset($formData['WpId']) || !isset($formData['UserName'])) {
         throw new MWException('Cannot add member, no data.');
     }
     $wikiplace = WpWikiplace::getById(intval($formData['WpId']));
     $user = User::newFromName($formData['UserName']);
     if (is_null($member = WpMember::Create($wikiplace, $user))) {
         return wfMessage('internalerror');
     }
     $user->invalidateCache();
     // necessary to update menus and link of the user
     $this->logActionMember('add', $wikiplace->getTitle(), $user);
     $this->name = $wikiplace->getName();
     return true;
 }