PHPUnit now sees individual parser tests as separate tests. This
[lhc/web/wiklou.git] / maintenance / updateArticleCount.php
index d2776e5..e681845 100644 (file)
@@ -77,7 +77,7 @@ class UpdateArticleCount extends Maintenance {
        private function makeSql( $dbr ) {
                list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' );
                $nsset = $this->makeNsSet();
-               return "SELECT COUNT(DISTINCT page_namespace, page_title) AS pagecount " .
+               return "SELECT COUNT(DISTINCT page_id) AS pagecount " .
                        "FROM $page, $pagelinks " .
                        "WHERE pl_from=page_id and page_namespace IN ( $nsset ) " .
                        "AND page_is_redirect = 0 AND page_len > 0";