Query Run
select concat("[[",page_title,"]]") from page where page_namespace = 0 and... 6 months ago