Index: trunk/extensions/LiquidThreads/Lqt.i18n.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | 'lqt_change_new_thread' => 'This is the thread\'s initial revision.', |
54 | 54 | 'lqt_change_reply_created' => 'The highlighted comment was created in this revision.', |
55 | 55 | 'lqt_change_edited_root' => 'The highlighted comment was edited in this revision.', |
56 | | - 'lqt_youhavenewmessages' => 'You have $1.', |
| 56 | + 'lqt_youhavenewmessages' => 'You have [$1 new messages].', |
57 | 57 | 'lqt_changes_from' => ' from ', |
58 | 58 | 'lqt_changes_summary_of' => ' of ', |
59 | 59 | 'lqt_protectedfromreply' => 'This thread has been $1 from being replied to.', |
Index: trunk/extensions/LiquidThreads/LqtPages.php |
— | — | @@ -214,7 +214,7 @@ |
215 | 215 | } |
216 | 216 | |
217 | 217 | global $wgRequest; |
218 | | - if( $this->methodApplies('talkpage_new_thread') || $wgRequest->getBool( 'redlink' ) ) { |
| 218 | + if( $this->methodApplies('talkpage_new_thread') ) { |
219 | 219 | $this->showNewThreadForm(); |
220 | 220 | } else { |
221 | 221 | |
Index: trunk/extensions/LiquidThreads/LqtBaseView.php |
— | — | @@ -82,9 +82,7 @@ |
83 | 83 | $action = $request->getVal('action'); |
84 | 84 | $header_actions = array('history', 'edit', 'submit'); |
85 | 85 | global $wgRequest; |
86 | | - if( $wgRequest->getBool( 'redlink' ) ) { |
87 | | - $viewname = self::$views['TalkpageView']; |
88 | | - } else if ($request->getVal('lqt_method', null) === null && |
| 86 | + if ($request->getVal('lqt_method', null) === null && |
89 | 87 | ( in_array( $action, $header_actions ) || |
90 | 88 | $request->getVal('diff', null) !== null ) ) { |
91 | 89 | $viewname = self::$views['TalkpageHeaderView']; |
— | — | @@ -247,7 +245,7 @@ |
248 | 246 | &&! $watchlist_t->equals($wgTitle) |
249 | 247 | &&! $usertalk_t->equals($wgTitle) |
250 | 248 | ) { |
251 | | - $s = wfMsg('lqt_youhavenewmessages', '<a href="'.$newmsg_t->getFullURL().'">'.wfMsg('newmessageslink').'</a>'); |
| 249 | + $s = wfMsgExt('lqt_youhavenewmessages', array( 'parseinline' ), $newmsg_t->getFullURL()); |
252 | 250 | $tpl->set("newtalk", $s); |
253 | 251 | $wgOut->setSquidMaxage(0); |
254 | 252 | } else { |