r192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r191‎ | r192 | r193 >
Date:22:18, 23 February 2002
Author:hidders
Status:old
Tags:
Comment:
added distinct so number of articles is counted and not the number of links
Modified paths:
  • /trunk/phpwiki/fpw/special_wantedpages.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/special_wantedpages.php
@@ -10,7 +10,7 @@
1111 $ret = $wikiWantedText ;
1212
1313 $connection = getDBconnection () ;
14 - $sql = "SELECT unlinked_to, COUNT( unlinked_from ) AS ulf
 14+ $sql = "SELECT unlinked_to, COUNT( DISTINCT unlinked_from ) AS ulf
1515 FROM unlinked
1616 GROUP BY unlinked_to
1717 ORDER BY ulf DESC

Follow-up revisions

RevisionCommit summaryAuthorDate
r62934CodeReview: Modified the method we use to output the revision ID. If more th...happydog18:50, 24 February 2010

Status & tagging log