r55003 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55002‎ | r55003 | r55004 >
Date:10:42, 14 August 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix odd summary bug
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -245,7 +245,7 @@
246246
247247 function showSummarizeForm( $thread ) {
248248 $this->output->addWikiMsg( 'lqt-summarize-intro' );
249 - $this->showEditingFormInGeneral( null, 'summarize', $thread );
 249+ $this->showEditingFormInGeneral( $thread, 'summarize', $thread );
250250 }
251251
252252 function doInlineEditForm() {
@@ -404,7 +404,7 @@
405405 $thread = Threads::newThread( $edit_page, $article, $edit_applies_to,
406406 Threads::TYPE_NORMAL, $subject );
407407 } elseif ( $edit_type == 'summarize' ) {
408 - $edit_applies_to->setSummary( $article );
 408+ $edit_applies_to->setSummary( $edit_page );
409409 $edit_applies_to->commitRevision( Threads::CHANGE_EDITED_SUMMARY,
410410 $edit_applies_to, $edit_summary );
411411 } elseif ( $edit_type == 'editExisting' ) {

Status & tagging log