mediawiki-extensions-Visual.../modules/ve-mw/ui
Thiemo Kreuz c135f10f72 Remove unused "insert" action from MWTemplateDialog
This action was removed via Ib744b89 in 2019, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/491537/4/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js
Note the messages that are removed in this patch:
* …-action-insert was used for the "insert" action.
* …-action-apply was used for an "apply" action.
* …-action-cancel doesn't mention an action. Internally,
  the cancel action is "".

Since Ibd740ad the actions are registered in the
FragmentDialog superclass, see
https://gerrit.wikimedia.org/r/c/VisualEditor/VisualEditor/+/491536/2/src/ui/dialogs/ve.ui.FragmentDialog.js
Note the messages. Cancel is unchanged. …-action-insert and
…-action-apply are still there, but both linked to the same
"done" action. The "apply" and "insert" actions are gone.
I.e. they are merged into a single "done" action, represented
by a single button that changes the label from "Insert" to
"Apply changes" when needed.

On top of that,
MWTransclusionDialog.updateActionSet() replaces "Apply
changes" with "Save".

Note: Other dialogs also mention an "insert" action. I didn't
look at these. These are not in the focus of our team's
current project.

Bug: T284895
Change-Id: I1d35ada3b5b2049ed20c2d940a1c065b704c978d
2021-06-18 13:44:35 +02:00
..
actions MWLinkAction: update call to window.open 2020-10-08 18:37:47 +00:00
commands
contextitems Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
datatransferhandlers MWWikitextStringTransferHandler: Factor out Parsoid->DOM conversion 2021-01-20 19:49:27 +00:00
dialogs Remove unused "insert" action from MWTemplateDialog 2021-06-18 13:44:35 +02:00
elements Add collapsible descriptions to the transclusion dialog 2021-05-10 11:18:17 +00:00
inspectors Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
pages Merge "Extract "show all" to placeholder class" 2021-06-16 12:25:55 +00:00
styles Template dialog checkbox list 2021-06-17 08:47:47 +00:00
tools Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
widgets Template dialog checkbox list 2021-06-17 08:47:47 +00:00
ve.ui.MWCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWExtensionWindow.js
ve.ui.MWSequenceRegistry.js
ve.ui.MWSurface.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWTransclusionsBooklet.js Method for getting the currently selected element 2021-06-10 15:32:07 +02:00
ve.ui.MWWikitextCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWWikitextDataTransferHandlerFactory.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.ui.MWWikitextSequenceRegistry.js
ve.ui.MWWikitextSurface.js eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
ve.ui.MWWikitextTransferRegistry.js