Steps to reproduce:
- Create a page in wikitext in the mediawiki namespace (e.g. https://test.wikipedia.org/wiki/MediaWiki:CChangeTest )
- Use change content model to change the model from wikitext to javascript (see image)
- FAIL (see image)
What I expect to happen: elevated security prompt should engage, then the workflow should continue


