mediawiki-extensions-Visual.../modules/ve-mw/preinit
Bartosz Dziewoński 200062ea5c 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
(cherry picked from commit be36f1fab1)
2024-02-05 18:11:58 +00:00
..
styles Tweak main toolbar shadow to not leak out from the sides on vector-2022 2022-08-10 20:38:20 +02:00
.eslintrc.json Prefere ve.extendObject over $.extend 2021-11-15 21:30:19 +00:00
ve.init.mw.ArticleTargetLoader.js Bump requested Parsoid HTML version to 2.4.0 2022-05-20 15:01:09 -04:00
ve.init.mw.ArticleTargetSaver.js Merge "Log whenever browser plugin spam is detected" 2022-02-21 23:29:39 +00:00
ve.init.mw.DesktopArticleTarget.init.js DesktopArticleTarget.init: Remove code for updating edit links 2024-02-05 18:11:58 +00: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 Pass empty string to unused argument of pushState/replaceState 2022-08-09 13:37:34 +01:00
ve.init.mw.ProgressBarWidget.js
ve.init.mw.TempWikitextEditorWidget.js Use term "wikitext" when working with TempWikitextEditorWidget 2021-06-09 10:23:36 +02:00
ve.init.MWEditingTabDialog.js
ve.init.MWEditModeTool.js Update and fix all @param config and @cfg documentation 2021-09-12 12:35:27 +00:00
ve.init.MWVESwitchConfirmDialog.js
ve.init.MWVESwitchPopupWidget.js Move vars inline in preinit code 2021-05-05 18:06:37 +01:00
ve.init.MWWelcomeDialog.js eslint: Enable no-jquery/no-append-html 2021-12-16 02:04:11 +01:00
ve.utils.parsoid.js Fix a few risky places for a multi-valued rel attributes 2022-08-23 15:21:41 +02:00