Index: branches/liquidthreads/extensions/LqtExtension.php |
— | — | @@ -27,9 +27,7 @@ |
28 | 28 | static function talkpageMain(&$output, &$talk_article, &$title, &$user, &$request) { |
29 | 29 | // We are given a talkpage article and title. Find the associated |
30 | 30 | // non-talk article and pass that to the view. |
31 | | - $article_title = Title::makeTitle($title->getNamespace() - 1, |
32 | | - $title->getDBkey()); |
33 | | - $article = new Article($article_title); |
| 31 | + $article = new Article($title->getSubjectPage()); |
34 | 32 | |
35 | 33 | if ( $request->getVal('lqt_method') == 'talkpage_archive' ) { |
36 | 34 | $viewname = self::$views['TalkpageArchiveView']; |