mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Fix a few risky places for a multi-valued rel attributes 2022-08-23 15:21:41 +02:00
dm Don't allow table attributes to be edited when hasExpandedAttrs 2023-04-04 19:18:54 +00:00
init DesktopArticleTarget: Fix popstate handling when action=edit (single edit tab) 2022-09-01 14:56:05 +01:00
preinit DesktopArticleTarget.init: Remove code for updating edit links 2024-02-05 18:11:58 +00:00
tests Don't allow table attributes to be edited when hasExpandedAttrs 2023-04-04 19:18:54 +00:00
themes Remove obsolete "search for a parameter" page and widgets 2022-06-17 10:23:00 +02:00
ui Don't allow table attributes to be edited when hasExpandedAttrs 2023-04-04 19:18:54 +00:00