Translations:Help:BlockedExternalDomains/27/en

There is a Python script to help reduce the manual work. Running this simple python script to migrate spam blacklist with the domain set at the top would provide you two outputs: Content of $spam-blacklist after migration (i.e. complex regexes) and the json that should be put in $json-page.