mediawiki-extensions-Visual.../modules/ve-mw/init
Bartosz Dziewoński 872679aeec DesktopArticleTarget.init: Support '&editintro=…' in edit links
Support gadgets adding '&editintro=…' to the default edit link.
It was already supported when opening the link in a new window, or
following an external link, or when clicking a section edit link.

Also, clean up these parameters when leaving the editor. This also
applies to 'preload', 'preloadparams', 'preloadtitle', 'summary'.

KNOWN BUG: Only works the first time the editor is loaded on the page.
Afterwards, DesktopArticleTarget.init lets DesktopArticleTarget handle
initialization, and it ignores extra parameters. I made a few attempts
at fixing this, but I only broke it further. I don't understand why
the history handling code even works. Maybe I'll come back to this.

Bug: T56029
Change-Id: I38fcde573f728250aaa125b391815e7fac7df362
2023-05-30 12:52:53 +00:00
..
apiresponsecache Add and fix default values in parameter documentation 2022-02-21 13:19:21 +00:00
styles Drop some IE hacks 2023-04-12 16:32:59 +01:00
targets DesktopArticleTarget.init: Support '&editintro=…' in edit links 2023-05-30 12:52:53 +00:00
ve.init.mw.ArticleTargetEvents.js Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-24 21:48:45 +01:00
ve.init.mw.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.init.mw.Platform.init.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.init.mw.Platform.js Handle temporary users when dealing with user preferences 2023-04-28 15:57:46 +02:00
ve.init.mw.SaveErrorHandler.js Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
ve.init.mw.ViewportZoomHandler.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00