SQL
AخA
USE zhwiki_p;
SELECT CONCAT('[[Draft:', page_title, ']]') AS title, rev_timestamp FROM page
JOIN revision ON page_latest = rev_id
WHERE page_namespace = 118 AND
rev_timestamp <= DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 6 MONTH), '%Y%m%d%H%i%s')
GROUP BY page_title
ORDER BY rev_timestamp
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.