r93161 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93160‎ | r93161 | r93162 >
Date:03:34, 26 July 2011
Author:dantman
Status:deferred
Tags:
Comment:
Suggestion from Tan-Vinh Nguyen to improve pgsql compatibility.
Modified paths:
  • /trunk/extensions/WikiCategoryTagCloud/WikiCategoryTagCloud.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiCategoryTagCloud/WikiCategoryTagCloud.php
@@ -95,7 +95,7 @@
9696 }
9797 }
9898
99 - $sql = "SELECT cl_to as title, COUNT(*) as count FROM {$dbr->tableName( 'categorylinks' )} " . $exclude_condition . " GROUP BY cl_to HAVING count >= $min_count_input ORDER BY cl_to ASC";
 99+ $sql = "SELECT cl_to as title, COUNT(*) as count FROM {$dbr->tableName( 'categorylinks' )} " . $exclude_condition . " GROUP BY cl_to HAVING COUNT(*) >= $min_count_input ORDER BY cl_to ASC";
100100
101101 $res = $dbr->query( $sql );
102102 $count = $dbr->numRows( $res );

Status & tagging log