Index: trunk/extensions/LiquidThreads/classes/ParserFunctions.php |
— | — | @@ -36,8 +36,8 @@ |
37 | 37 | $title = $parser->getTitle(); |
38 | 38 | } |
39 | 39 | |
40 | | - $talkpage = new Article( $title ); |
41 | | - $article = new Article( $parser->getTitle() ); |
| 40 | + $talkpage = new Article( $title, 0 ); |
| 41 | + $article = new Article( $parser->getTitle(), 0 ); |
42 | 42 | |
43 | 43 | $data = array( |
44 | 44 | 'type' => 'talkpage', |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | if ( is_numeric( $args['thread'] ) ) { |
71 | 71 | $thread = Threads::withId( $args['thread'] ); |
72 | 72 | } elseif ( $title ) { |
73 | | - $article = new Article( $title ); |
| 73 | + $article = new Article( $title, 0 ); |
74 | 74 | $thread = Threads::withRoot( $article ); |
75 | 75 | } |
76 | 76 | } |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | $oldOut = $wgOut->getHTML(); |
137 | 137 | $wgOut->clearHTML(); |
138 | 138 | |
139 | | - $root = new Article( $title ); |
| 139 | + $root = new Article( $title, 0 ); |
140 | 140 | $thread = Threads::withRoot( $root ); |
141 | 141 | |
142 | 142 | $view = new LqtView( $wgOut, $article, $title, $wgUser, $wgRequest ); |