mediawiki-extensions-Visual.../modules/ve-mw/preinit
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
..
styles build: Update stylelint-config-wikimedia to 0.15.0 2023-05-24 18:50:35 +01:00
.eslintrc.json Prefere ve.extendObject over $.extend 2021-11-15 21:30:19 +00:00
ve.init.mw.ArticleTargetLoader.js DesktopArticleTarget.init: Simplify parameter types 2023-05-30 14:51:53 +02: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: Support '&editintro=…' in edit links 2023-05-30 12:52:53 +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 Revert "Move the diff-mode selector to the new DifferenceEngineBeforeDiffTable hook" 2023-05-18 15:36:38 +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 build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
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 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