SQL
AخA
USE wuuwiki_p;
SELECT cl_to, COUNT(page_title)
FROM page join categorylinks on cl_from=page_id
LEFT JOIN langlinks
ON ll_from = page_id
left JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props
ON pp_page = page_id
WHERE page_namespace = 0 AND page_is_redirect = 0
AND ll_title IS NULL
AND pp_value is NULL
group BY cl_to
having COUNT(page_title) > 1;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.