https://bugzilla.wikimedia.org/show_bug.cgi?id=16632





--- Comment #1 from Sean Colombo <[email protected]>  2008-12-14 22:33:49 UTC 
---
CORRECTION!!!

The query that it should be replaced with should be:
return "SELECT COUNT(DISTINCT page_namespace,page_title) as count FROM
$page,$pagelinks" .
                        "WHERE pl_from=page_id and page_namespace IN ( $nsset
)" .
                        "AND page_is_redirect = 0 AND page_len > 0";

The difference is the addition of " as count" in there.  Otherwise there will
be an error on the line below where it has "return (int)$row->count;"


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to