mediawiki-extensions-Visual.../modules/ve-mw/init
David Lynch 4e938e58c7 init.mw.Target: make getSurfaceConfig aware of modes
ve.init.Target sets up TriggerListeners based on getSurfaceConfig if there's
no Surface instantiated. As such, loading directly in source mode would have
those listeners present and assuming the document is in visual mode. So, if
there's not a Surface already, we'll assume we're going to get one created
with the defaultMode, and set things up expecting that.

Bug: T153959
Change-Id: Ia0afe32e6b63ea0d3418137ca5c8bc32c009ecfa
2017-10-10 15:14:25 -05:00
..
styles Fix font size in local overlays in monobook 2017-09-21 15:46:26 +01:00
targets DesktopArticleTarget.init: Load 'mediawiki.action.view.postEdit' via loader 2017-10-05 15:54:20 -07:00
ve.init.mw.ApiResponseCache.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.ArticleTarget.js Target teardown refactor 2017-10-05 10:26:46 -07:00
ve.init.mw.ArticleTargetEvents.js ArticleTarget: Give users a specific message when HookAborted errors happen 2017-01-11 10:46:30 -08:00
ve.init.mw.ArticleTargetLoader.js Enable preload in VisualEditor 2017-09-15 17:17:51 -05:00
ve.init.mw.DiffLoader.js Strip RESTBase IDs from historical diffs 2017-09-14 13:45:10 +01:00
ve.init.mw.DiffPage.init.js Move historical diff loading to DiffLoader util 2017-08-13 15:31:42 -04:00
ve.init.mw.GalleryImageInfoCache.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.ImageInfoCache.js Return truthy object when image info not found 2017-07-03 18:01:33 +00:00
ve.init.mw.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.LinkCache.js Display LanguageConverter markup in VisualEditor 2017-07-25 15:26:41 +00:00
ve.init.mw.Platform.init.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.Platform.js Don't try to i18n-parse JSON string 2017-06-06 11:12:41 +01:00
ve.init.mw.Target.js init.mw.Target: make getSurfaceConfig aware of modes 2017-10-10 15:14:25 -05:00
ve.init.mw.trackSubscriber.js build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
ve.init.MWEditingTabDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.MWEditModeTool.js EditModeTool: Use state-describing, not action-describing labels 2017-04-26 11:33:14 -07:00
ve.init.MWVESwitchConfirmDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.MWVESwitchPopupWidget.js Use list tool group for editor switching 2017-02-28 15:06:48 +00:00
ve.init.MWWelcomeDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00