SQL
AخA
SELECT Pa.page_title
FROM linktarget
JOIN templatelinks ON tl_target_id = lt_id AND tl_from_namespace = 0
JOIN page Pa ON Pa.page_namespace = 0 AND Pa.page_is_redirect = 0 AND Pa.page_id = tl_from
WHERE lt_namespace = 10 AND lt_title = "Infobox_person"
AND NOT EXISTS (SELECT 1 FROM categorylinks
WHERE cl_from = Pa.page_id AND cl_to IN ("Articles_with_short_description", "All_disambiguation_pages"))
AND NOT EXISTS (SELECT 1 FROM page Pt, categorylinks WHERE Pt.page_title = Pa.page_title AND Pt.page_namespace = 1
AND cl_from = Pt.page_id AND cl_to = "WikiProject_Lists_articles")
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.