Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/196291

Change subject: ve.ui.MWLinkNodeInspector: Restore action buttons
......................................................................

ve.ui.MWLinkNodeInspector: Restore action buttons

Bug: T92525
Change-Id: Id305268b76cce4e56f0e98a9d7ac4e6c571470d2
---
M modules/ve-mw/ui/inspectors/ve.ui.MWLinkNodeInspector.js
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/91/196291/1

diff --git a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkNodeInspector.js 
b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkNodeInspector.js
index 474de0f..2e99419 100644
--- a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkNodeInspector.js
+++ b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkNodeInspector.js
@@ -38,11 +38,13 @@
 ve.ui.MWLinkNodeInspector.static.actions = 
ve.ui.MWLinkNodeInspector.super.static.actions.concat( [
        {
                action: 'open',
-               label: OO.ui.deferMsg( 'visualeditor-linkinspector-open' )
+               label: OO.ui.deferMsg( 'visualeditor-linkinspector-open' ),
+               modes: [ 'edit', 'insert' ]
        },
        {
                action: 'convert',
-               label: OO.ui.deferMsg( 
'visualeditor-linknodeinspector-add-label' )
+               label: OO.ui.deferMsg( 
'visualeditor-linknodeinspector-add-label' ),
+               modes: [ 'edit' ]
        }
 ] );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/196291
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id305268b76cce4e56f0e98a9d7ac4e6c571470d2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to