r49204 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49203‎ | r49204 | r49205 >
Date:10:46, 5 April 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* support plural for $2
* remove some unneeded whitespace
* correct leading spaces to tab
Modified paths:
  • /trunk/extensions/LiquidThreads/LqtBaseView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/LqtBaseView.php
@@ -947,24 +947,22 @@
948948 return;
949949 }
950950 }
951 -
 951+
952952 global $wgLqtThreadArchiveStartDays, $wgLqtThreadArchiveInactiveDays;
953953
954954 $timestamp = new Date( $thread->modified() );
955955 if ( $thread->summary() ) {
956956 $this->showSummary( $thread );
957957 } else if ( $timestamp->isBefore( Date::now()->nDaysAgo( $wgLqtThreadArchiveStartDays ) )
958 - && !$thread->summary() && !$thread->hasSuperthread() && !$thread->isHistorical() )
 958+ && !$thread->summary() && !$thread->hasSuperthread() && !$thread->isHistorical() )
959959 {
960960 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',
962962 '<a href="' . $this->permalinkUrl( $thread, 'summarize' ) . '">' . wfMsg( 'lqt_summary_notice_link' ) . '</a>',
963963 $wgLqtThreadArchiveStartDays
964964 ) . '</p>' );
965965 }
966966
967 -
968 -
969967 $this->openDiv( 'lqt_thread', "lqt_thread_id_{$thread->id()}" );
970968
971969 $this->showRootPost( $thread );
@@ -976,7 +974,6 @@
977975 if ( $thread->hasSubthreads() ) $this->unindent( $thread );
978976
979977 $this->closeDiv();
980 -
981978 }
982979
983980 function indent( $thread ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r49205Also update 'lqt_summary_notice' for r49204siebrand10:47, 5 April 2009

Status & tagging log