r57856 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57855‎ | r57856 | r57857 >
Date:06:47, 17 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Merge r57855
Modified paths:
  • /branches/wmf-deployment/extensions/LiquidThreads (modified) (history)
  • /branches/wmf-deployment/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/LiquidThreads/classes/View.php
@@ -367,8 +367,14 @@
368368 $article = $thread->root();
369369 }
370370
371 - LqtHooks::$editTalkpage = $edit_type == 'new'
372 - ? $this->article : $edit_applies_to->article();
 371+ $talkpage = $this->article;
 372+ if ( $thread ) {
 373+ $talkpage = $thread->article();
 374+ } elseif ( $edit_applies_to ) {
 375+ $talkpage = $edit_applies_to->article();
 376+ }
 377+
 378+ LqtHooks::$editTalkpage = $talkpage;
373379 LqtHooks::$editArticle = $article;
374380 LqtHooks::$editThread = $thread;
375381 LqtHooks::$editType = $edit_type;
Property changes on: branches/wmf-deployment/extensions/LiquidThreads
___________________________________________________________________
Name: svn:mergeinfo
376382 - /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57829,57831
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447
377383 + /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57829,57831,57855
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57855Fix fatal error (regression, on post edit)werdna06:40, 17 October 2009

Status & tagging log