Board Thread:New Features/@comment-1526346-20160904055140/@comment-24473195-20160905205626

Lady Aleena wrote: Maybe some regexen for non-template categories (untested)?

To remove: s/\[\[Category\:Foo\]\]//g

To append a sort: s\[\[\Category\:Foo\]\]//g That would partly work, except when it doesn't. It is a very simple version that wouldn't work in a lot of cases. First, it doesn't account for different localization, e.g. vs , second it doesn't account for space vs "_" in names and as stated before it wouldn't account for categories inside templates, and case sensitivity.

As noted previously, this functionality is actually part of Linksweeper, and masscategorization. So the naive version already works, although only the former caters to category localization.

Lastly, anyone brave enough to try to parse wikitext should know "this way lies madness".