mediawiki-extensions-Visual.../modules/ve-mw/preinit
Bartosz Dziewoński be36f1fab1 DesktopArticleTarget.init: Remove code for updating edit links
This JS code duplicates the PHP implementation in VisualEditorHooks
in order to allow changes to the configuration of edit tabs
(e.g. wgVisualEditorUseSingleEditTab and wgVisualEditorTabPosition)
to take effect for logged-out users immediately, without waiting
for the HTML caches to clear.

It was worthwhile 10 years ago when VisualEditor was being rolled out
to new wikis or reconfigured daily, but it is not today when we hardly
ever change these settings.

It proved difficult to maintain as the skins change, it has several
known bugs (T292125, T306807, T346944), and probably several more
unknown ones, given that it hasn't been tested in about 10 years.

Let's remove it and save ourselves the headache. (Also also reduce the
amount of code we ship on all page views by almost a kilobyte.)

Bug: T292125
Bug: T306807
Bug: T346944
Change-Id: Ib82f5402872a2429445463a1e1ef92806d3326f9
2023-10-05 03:11:40 +02:00
..
styles build: Update stylelint-config-wikimedia 2023-08-21 16:06:40 +01:00
.eslintrc.json Prefere ve.extendObject over $.extend 2021-11-15 21:30:19 +00:00
ve.init.mw.ArticleTargetLoader.js Edit check: Turn on when ecenable=1 is set 2023-09-05 14:34:20 +01:00
ve.init.mw.ArticleTargetSaver.js Drop some IE hacks 2023-04-12 16:32:59 +01:00
ve.init.mw.DesktopArticleTarget.init.js DesktopArticleTarget.init: Remove code for updating edit links 2023-10-05 03:11:40 +02:00
ve.init.mw.DiffLoader.js Move vars inline in preinit code 2021-05-05 18:06:37 +01:00
ve.init.mw.DiffPage.init.js Fix wikitext mixed toggling 2023-10-03 16:15:37 +00:00
ve.init.mw.ProgressBarWidget.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.TempWikitextEditorWidget.js Use term "wikitext" when working with TempWikitextEditorWidget 2021-06-09 10:23:36 +02:00
ve.init.MWEditingTabDialog.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.init.MWEditModeTool.js Make better use of toolbar groups 2023-06-29 16:58:38 +00:00
ve.init.MWVESwitchPopupWidget.js Handle temporary users when dealing with user preferences 2023-04-28 15:57:46 +02:00
ve.init.MWWelcomeDialog.js eslint: Enable no-jquery/no-append-html 2021-12-16 02:04:11 +01:00
ve.utils.parsoid.js Merge "Re-apply "Rewrite mw.libs.ve.getTargetDataFromHref with URL API"" 2023-02-02 09:22:45 +00:00