Translations:Manual:$wgEnableMagicLinks/7/en

For purging all pages in a given namespace or all pages in all namespaces, you can use the $purgeList maintenance script.