r57945 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57944‎ | r57945 | r57946 >
Date:14:40, 20 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Move postEditUpdates back to using $article instead of $articleId
Modified paths:
  • /trunk/extensions/LiquidThreads/api/ApiThreadAction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php
@@ -347,7 +347,7 @@
348348 $article->getTitle()->resetArticleID( $articleId );
349349 $title->resetArticleID( $articleId );
350350
351 - $thread = LqtView::postEditUpdates( 'new', null, $articleId, $talkpage,
 351+ $thread = LqtView::postEditUpdates( 'new', null, $article, $talkpage,
352352 $subject, $summary, null, $text );
353353
354354 $maxLag = wfGetLB()->getMaxLag();
@@ -445,7 +445,7 @@
446446 $article->getTitle()->resetArticleID( $articleId );
447447 $title->resetArticleID( $articleId );
448448
449 - $thread = LqtView::postEditUpdates( 'reply', $replyTo, $articleId, $talkpage,
 449+ $thread = LqtView::postEditUpdates( 'reply', $replyTo, $article, $talkpage,
450450 $subject, $summary, null, $text );
451451
452452 $maxLag = wfGetLB()->getMaxLag();

Follow-up revisions

RevisionCommit summaryAuthorDate
r57946Merge r57945werdna14:40, 20 October 2009

Status & tagging log