Query Run
use enwiki_p; select CONCAT('[[Category:',cat_title,']]') AS cat_title from... 8 years ago