http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71865
Revision: 71865
Author: werdna
Date: 2010-08-29 02:08:11 +0000 (Sun, 29 Aug 2010)
Log Message:
-----------
Add a warning for threads with no associated title.
Modified Paths:
--------------
trunk/extensions/LiquidThreads/classes/Thread.php
Modified: trunk/extensions/LiquidThreads/classes/Thread.php
===================================================================
--- trunk/extensions/LiquidThreads/classes/Thread.php 2010-08-28 23:52:46 UTC
(rev 71864)
+++ trunk/extensions/LiquidThreads/classes/Thread.php 2010-08-29 02:08:11 UTC
(rev 71865)
@@ -1196,6 +1196,7 @@
if ( is_object( $this->root() ) ) {
return $this->root()->getTitle();
} else {
+ wfWarn( "Thread ".$thread->id()." has no title." );
return null;
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs