function __construct(&$output, &$article, &$title, &$user, &$request)
 {
     parent::__construct($output, $article, $title, $user, $request);
     $t = Threads::withRoot($this->article);
     $this->thread = $t;
     if (!$t) {
         return;
     }
     $this->article = $t->article();
 }
Esempio n. 2
0
 function __construct(&$output, &$article, &$title, &$user, &$request)
 {
     parent::__construct($output, $article, $title, $user, $request);
     $this->talkpage = $article;
 }
Esempio n. 3
0
 function __construct(&$output, &$article, &$title, &$user, &$request)
 {
     parent::__construct($output, $article, $title, $user, $request);
     $t = Threads::withRoot($this->article);
     $this->thread = $t;
     if (!$t) {
         return;
     }
     // $this->article gets saved to thread_article, so we want it to point to the
     // subject page associated with the talkpage, always, not the permalink url.
     $this->article = $t->article();
     # for creating reply threads.
 }