SQL
AخA
USE commonswiki_p;
SELECT CONCAT("* [[:Category:", page_title, "]]")
FROM page
WHERE page_title LIKE "%s_by_%s"
AND page_namespace = 14
AND NOT page_id IN (
SELECT tl_from
FROM templatelinks
WHERE tl_namespace = 10
AND tl_title = "MetaCat"
);
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.