mediawiki-extensions-Visual.../modules/ve-mw/init
Bartosz Dziewoński 92bb0e557a ve.init.mw.DesktopArticleTarget: Remove some unnecessary toolbar setup code
This code, added in 703b2c2ed0 (2015),
is no longer necessary.

    // Disconnect the tool factory listeners so the toolbar
    // doesn't start showing new tools as they load, too
    // much flickering
    this.getToolbar().getToolFactory().off( 'register' );

Introduction of targetLoader (d371014e5d)
resulted in all tools already being loaded before a Target is
constructed, so this is definitely not needed.

    // Disable all the tools
    this.getToolbar().updateToolState();

The tools are already disabled because we set the surface to read-only
above, so this does nothing.

Change-Id: Idb162b60891cd1b961e29d2b9f62b74908f17957
2019-02-22 21:03:36 +00:00
..
styles Merge "Support only surfacing part of the document" 2019-02-20 19:06:30 +00:00
targets ve.init.mw.DesktopArticleTarget: Remove some unnecessary toolbar setup code 2019-02-22 21:03:36 +00:00
ve.init.mw.ApiResponseCache.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.ArticleTarget.js Load VE in read-only mode on protected pages 2019-02-22 19:09:23 +00:00
ve.init.mw.ArticleTargetEvents.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.ArticleTargetLoader.js build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
ve.init.mw.DiffLoader.js Support only surfacing part of the document 2019-02-13 19:03:44 +00:00
ve.init.mw.DiffPage.init.js build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
ve.init.mw.GalleryImageInfoCache.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.ImageInfoCache.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.LinkCache.js build: Update eslint-config-wikimedia to 0.10.0 2019-01-08 17:00:09 +00:00
ve.init.mw.Platform.init.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.Platform.js build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
ve.init.mw.ProgressBarWidget.js DesktopArticleTarget: Make the progress bar into a reusable widget 2019-02-06 22:20:37 +01:00
ve.init.mw.SaveErrorHandler.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.Target.js Support only surfacing part of the document 2019-02-13 19:03:44 +00:00
ve.init.mw.TempWikitextEditorWidget.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.trackSubscriber.js trackSubscriber: don't track activity here on mobile 2019-01-31 01:22:28 +00:00
ve.init.MWEditingTabDialog.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.MWEditModeTool.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.MWVESwitchConfirmDialog.js build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
ve.init.MWVESwitchPopupWidget.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.MWWelcomeDialog.js stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00