We would like to add and restrict pages with names that are featured on the OfCom offensive words list;
We also want to add the following text to the body of the page;
“While we aim to be as open as possible, we have had to restrict editing on this pages in order to prevent trolling. If you would like more information on this subject, please search Wikipedia”
The word “Wikipedia” should link to a Wikipedia search for the page title.
I don’t really want to do this manually. How would I go about automating this?