To reproduce:
- go to Special:NewLexeme
- fill out lemma
- fill out language with an item that does not have a statement for the language code property
- fill out lemma language with anything that is not the default language option
- fill out lexical category
- submit
- click browser back