Remove gallery tool from toolbar

It confuses people looking for the media insertion tool. Galleries
that are already on the page will still be inspectable.

Change-Id: I90609ab7f19fb513c17d9253db30e7ddeaa18436
This commit is contained in:
Roan Kattouw 2014-05-28 16:40:12 -07:00
parent a7bf8b6a7f
commit 27a400ee62

View file

@ -24,5 +24,7 @@ ve.ui.MWGalleryInspectorTool.static.icon = 'gallery';
ve.ui.MWGalleryInspectorTool.static.title =
OO.ui.deferMsg( 'visualeditor-mwgalleryinspector-title' );
ve.ui.MWGalleryInspectorTool.static.modelClasses = [ ve.dm.MWGalleryNode ];
ve.ui.MWGalleryInspectorTool.static.autoAddToGroup = false;
ve.ui.MWGalleryInspectorTool.static.autoAddToCatchall = false;
ve.ui.MWGalleryInspectorTool.static.commandName = 'gallery';
ve.ui.toolFactory.register( ve.ui.MWGalleryInspectorTool );