mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
f1a66c17e4
I rearranged this piece of code like a dozen times before I finally understood what it actually does. This should be much more obvious now. The idea is: * If no edit was made the button is always disabled. * You can save pretty much everything, except when the transclusion still starts with a placeholder. * You can also click the done button when the dialog is empty. This feels a bit odd, but was like this before. I think this codepath is unreachable. But it probably doesn't hurt to keep it. Bug: T284895 Change-Id: Ic483201b64fd64f414c5b1ec4c44198b8eadb9f2 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |