r71865 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71864‎ | r71865 | r71866 >
Date:02:08, 29 August 2010
Author:werdna
Status:deferred
Tags:
Comment:
Add a warning for threads with no associated title.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Thread.php
@@ -1196,6 +1196,7 @@
11971197 if ( is_object( $this->root() ) ) {
11981198 return $this->root()->getTitle();
11991199 } else {
 1200+ wfWarn( "Thread ".$thread->id()." has no title." );
12001201 return null;
12011202 }
12021203 }

Status & tagging log