HomePhabricator

Stop clearing lemma language code on Special:NewLexeme load
76a0c6a62de7Unpublished

Authored by Tarrow on Oct 12 2018, 4:18 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Stop clearing lemma language code on Special:NewLexeme load

the changeObserver is made configurable to clear, or not the
lemma language code

it is still clearing on Lexeme Item change but not on page
page load. This keeps the language value set in the preInfused
DOM e.g. if passed as a URL param or after failed submit

Bug: T205864
Change-Id: Iff88437a6664d27076282a161a460cd2c648c34a

Details