Index: trunk/extensions/LiquidThreads/LqtBaseView.php |
— | — | @@ -947,24 +947,22 @@ |
948 | 948 | return; |
949 | 949 | } |
950 | 950 | } |
951 | | - |
| 951 | + |
952 | 952 | global $wgLqtThreadArchiveStartDays, $wgLqtThreadArchiveInactiveDays; |
953 | 953 | |
954 | 954 | $timestamp = new Date( $thread->modified() ); |
955 | 955 | if ( $thread->summary() ) { |
956 | 956 | $this->showSummary( $thread ); |
957 | 957 | } else if ( $timestamp->isBefore( Date::now()->nDaysAgo( $wgLqtThreadArchiveStartDays ) ) |
958 | | - && !$thread->summary() && !$thread->hasSuperthread() && !$thread->isHistorical() ) |
| 958 | + && !$thread->summary() && !$thread->hasSuperthread() && !$thread->isHistorical() ) |
959 | 959 | { |
960 | 960 | wfLoadExtensionMessages( 'LiquidThreads' ); |
961 | | - $this->output->addHTML( '<p class="lqt_summary_notice">' . wfMsg( 'lqt_summary_notice', |
| 961 | + $this->output->addHTML( '<p class="lqt_summary_notice">' . wfMsgExt( 'lqt_summary_notice', 'parsemag', |
962 | 962 | '<a href="' . $this->permalinkUrl( $thread, 'summarize' ) . '">' . wfMsg( 'lqt_summary_notice_link' ) . '</a>', |
963 | 963 | $wgLqtThreadArchiveStartDays |
964 | 964 | ) . '</p>' ); |
965 | 965 | } |
966 | 966 | |
967 | | - |
968 | | - |
969 | 967 | $this->openDiv( 'lqt_thread', "lqt_thread_id_{$thread->id()}" ); |
970 | 968 | |
971 | 969 | $this->showRootPost( $thread ); |
— | — | @@ -976,7 +974,6 @@ |
977 | 975 | if ( $thread->hasSubthreads() ) $this->unindent( $thread ); |
978 | 976 | |
979 | 977 | $this->closeDiv(); |
980 | | - |
981 | 978 | } |
982 | 979 | |
983 | 980 | function indent( $thread ) { |