SQL
AخA
USE dewiki_p;
SELECT CONCAT('# [[:', pl.pl_title, ']] <small>(', COUNT(pl.pl_from), ' Links)</small>')
FROM pagelinks pl
INNER JOIN page p ON (p.page_title = pl.pl_title AND p.page_namespace = pl.pl_namespace)
INNER JOIN categorylinks cl ON (cl.cl_from = p.page_id AND cl.cl_to = 'Begriffsklärung')
WHERE pl.pl_namespace = 0
AND cl.cl_timestamp >= DATE(NOW()) - INTERVAL 5 DAY
AND pl.pl_from_namespace = 0
GROUP BY pl.pl_title
HAVING COUNT(pl.pl_from) >= 5
ORDER BY COUNT(pl.pl_from) DESC
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.