r104320 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104319‎ | r104320 | r104321 >
Date:22:22, 26 November 2011
Author:ashley
Status:ok
Tags:
Comment:
WikiForum: seems that I picked the wrong prefix back then. :) Patch by Constant Depièreux. "Without [this] change, all threads within one category are reported, oldest one on top have they been modified or not. With modified code, only modified threads are reported."
Modified paths:
  • /trunk/extensions/WikiForum/WikiForumHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiForum/WikiForumHooks.php
@@ -88,10 +88,8 @@
8989 'wff_forum = wft_forum'
9090 ),
9191 __METHOD__,
92 - // it's either wff or wft, I'm not 100% sure which one so I just
93 - // picked one of them...
9492 array(
95 - 'ORDER BY' => 'wff_last_post_timestamp DESC',
 93+ 'ORDER BY' => 'wft_last_post_timestamp DESC',
9694 'LIMIT' => intval( $args['num'] )
9795 ),
9896 array( 'user' => array( 'LEFT JOIN', 'user_id = wft_user' ) )

Status & tagging log