http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56358
Revision: 56358
Author: werdna
Date: 2009-09-15 12:50:14 +0000 (Tue, 15 Sep 2009)
Log Message:
-----------
Fix oddness in reply titles
Modified Paths:
--------------
trunk/extensions/LiquidThreads/classes/Threads.php
Modified: trunk/extensions/LiquidThreads/classes/Threads.php
===================================================================
--- trunk/extensions/LiquidThreads/classes/Threads.php 2009-09-15 12:41:15 UTC
(rev 56357)
+++ trunk/extensions/LiquidThreads/classes/Threads.php 2009-09-15 12:50:14 UTC
(rev 56358)
@@ -194,9 +194,9 @@
}
static function newReplyTitle( $thread, $user) {
- $topThread = $thread->topMostThread();
+ $topThread = $thread->topmostThread();
- $base = $thread->title()->getText() . '/' . $user->getName();
+ $base = $topThread->title()->getText() . '/' . $user->getName();
return self::incrementedTitle( $base, NS_LQT_THREAD );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs