Steps to reproduce:
- Load a page in the visual or 2017 wikitext editors
- Click "Insert"
- Click "Template"
- Type in the name of a template, e.g. "citation needed"
- Press enter or click on the item to choose the template
Expected behaviour:
- "Add template" button is functional
Actual behaviour:
- "Add template" button is greyed out and cannot be used
This is currently happening on all sites except Wikipedias.