Last modified: 2014-07-11 00:23:35 UTC
Removing the content from out of a <ref> .. </ref> should prompt the user that they need to delete the reference. Perhaps a tooltip, or this might be an opportunity to use a hover trick to give the user something to click to acknowledge they intended to delete the ref. It shouldnt be possible to save with an empty ref, as that is an error condition. https://en.wikipedia.org/w/index.php?title=User:John_Vandenberg/test&diff=566133128&oldid=566132993
According to ve.ui.MWReferenceDialog.prototype.onDocumentTransact, this apply button is supposed to be disabled when the length is less than 4. But when I empty the box, the length is 10 so nothing is done. Anyway, I think we should either: * Fix that bug (if it is one) and mark this bug as invalid (or repurposed for fixing it), or * Replace that with this idea
length < 4 is a hack and we probably shouldn't be using itβ¦
See Gerrit change #81438 and Gerrit change #88618
*** Bug 62399 has been marked as a duplicate of this bug. ***
So Gerrit change #136496 fixed the existing intended behaviour, but didn't go as far as this bug suggests (it just disables the apply button rather than deleting the reference) - should it be changed to delete the reference still?
Ping. Anyone want to answer my question?
Yes, sorry, this was great. Thanks!