Query Run
select concat('[[:Category:', replace(cat_title, '_', ' '), ']]')... 3 years ago