r62277 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62276‎ | r62277 | r62278 >
Date:23:02, 10 February 2010
Author:werdna
Status:deferred
Tags:
Comment:
Improve debugging code
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -1230,7 +1230,7 @@
12311231 if ( !$target ) {
12321232 throw new MWException( "Thread " . $thread->id() . ' purports to be moved, ' .
12331233 'but no redirect found in text of ' .
1234 - $thread->title()->getPrefixedText() . '. Dying.' );
 1234+ $thread->root()->getTitle()->getPrefixedText() . '. Dying.' );
12351235 }
12361236
12371237 $t_thread = Threads::withRoot( new Article( $target ) );

Status & tagging log