mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 18:58:37 +00:00
872679aeec
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 |
||
---|---|---|
.. | ||
styles | ||
.eslintrc.json | ||
ve.init.mw.ArticleTargetLoader.js | ||
ve.init.mw.ArticleTargetSaver.js | ||
ve.init.mw.DesktopArticleTarget.init.js | ||
ve.init.mw.DiffLoader.js | ||
ve.init.mw.DiffPage.init.js | ||
ve.init.mw.ProgressBarWidget.js | ||
ve.init.mw.TempWikitextEditorWidget.js | ||
ve.init.MWEditingTabDialog.js | ||
ve.init.MWEditModeTool.js | ||
ve.init.MWVESwitchConfirmDialog.js | ||
ve.init.MWVESwitchPopupWidget.js | ||
ve.init.MWWelcomeDialog.js | ||
ve.utils.parsoid.js |