Index: trunk/extensions/LiquidThreads/classes/Dispatch.php |
— | — | @@ -208,7 +208,9 @@ |
209 | 209 | global $wgRequest; |
210 | 210 | $method = $wgRequest->getVal( 'lqt_method' ); |
211 | 211 | $oldid = $wgRequest->getVal( 'lqt_oldid' ); |
212 | | - if( $method == 'diff' ) { |
| 212 | + if( $title->getNamespace() == NS_LQT_THREAD ) { |
| 213 | + $pageLang = $wgLang; |
| 214 | + } elseif( $method == 'diff' ) { |
213 | 215 | # the diff contains the wikitext, which is in the content language |
214 | 216 | return true; |
215 | 217 | } elseif ( $method == 'talkpage_history' || $method == 'thread_history' || $oldid != '' ) { |
Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php |
— | — | @@ -147,7 +147,7 @@ |
148 | 148 | Threads::stripHTML( $thread->formattedSubject() ) ); |
149 | 149 | $row .= Xml::tags( 'td', null, $subject ); |
150 | 150 | |
151 | | - $row .= Xml::element( 'td', null, $thread->replyCount() ); |
| 151 | + $row .= Xml::element( 'td', null, $wgLang->formatNum( $thread->replyCount() ) ); |
152 | 152 | |
153 | 153 | $timestamp = $wgLang->timeanddate( $thread->modified(), true ); |
154 | 154 | $row .= Xml::element( 'td', null, $timestamp ); |