function __construct($title)
 {
     parent::__construct($title);
     $this->mPoll = WikiaPoll::newFromArticle($this);
 }
 /**
  * Purge poll after an edit
  *
  * @param $article Article
  */
 public static function onArticleSaveComplete(&$article, &$user, $text, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, $revision, &$status, $baseRevId)
 {
     wfProfileIn(__METHOD__);
     wfDebug(__METHOD__ . "\n");
     $title = $article->getTitle();
     if (!empty($title) && $title->getNamespace() == NS_WIKIA_POLL) {
         $poll = WikiaPoll::newFromArticle($article);
         $poll->purge();
     }
     wfProfileOut(__METHOD__);
     return true;
 }