Closed jhsoby closed 3 years ago
Hmmmpf… I’m not sure if creating lexemes with the first form missing is supposed to be supported at all, since we use that form for the lemma…
Can you try disabling JavaScript? Then the “a lexeme with this lemma already exists” box should stay and you should be able to click it – I’m curious if the backend code will do the right thing then. (If yes, it sounds like we only need a JS fix.)
Yes, it worked when I disabled Javascript: https://www.wikidata.org/w/index.php?title=Lexeme:L482893&action=history
Hah: f97fc25c67130fa4eb69657c13e28d4c81a450f9
Note that we only listen to changes on the first form representation, which is not necessarily the one that will end up as the lemma in advanced mode. I think that’s an acceptable limitation. (Server-side duplicate detection checks the actual lemma, so it should still work, just not as conveniently.)
Turns out I was aware of this limitation way back in 2018 ^^ still, let’s fix it.
(Well, the “just not as conveniently” isn’t quite right, due to how the script immediately removes the server-side “this is a duplicate, are you sure?” elements.)
Alright, should be fixed now :)
Awesome! Thank you :grin:
This is real "edge-case" stuff. :grin:
If a lexeme with the same lemma already exists, I am not able to create a new lexeme with the advanced form if the first representation is not present.
To reproduce: