mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Favor jQuery's .toggleClass() to reduce code duplication 2023-09-25 18:59:10 +00:00
dm Port Parsoid's WTUtils::textContentFromCaption 2023-08-10 18:06:27 -04:00
init Update comment w/ rename of Article::getRedirectHeaderHtml() 2023-09-15 15:14:19 -04:00
preinit DesktopArticleTarget.init: Remove code for updating edit links 2023-10-05 03:11:40 +02:00
tests Reload page or redirect when saving an edit creates a temp account 2023-07-10 19:33:16 +02:00
themes Remove obsolete "search for a parameter" page and widgets 2022-06-17 10:23:00 +02:00
ui Favor jQuery's .toggleClass() to reduce code duplication 2023-09-25 18:59:10 +00:00
ve.track.js Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-24 21:48:45 +01:00