mediawiki-extensions-Visual.../modules/ve-mw/preinit
rvogel f69438fae6 Check for external url protocols during conversion
If links get pasted into VE and they lack a "//" in the `href`, they
are automatically considered to be "internal", thus being converted into
`[[...]]` wikitext links.

In case of pseudo protocols like `mailto:` this should not be the case.

This patch uses MediaWiki core settings to check if a `href` value is an
external protocol known to the application.

Bug: T297575
Depends-On: I2e584f6d5adc6b2d735e79cea64f2beeb5f2c36d
Change-Id: I2b383106450e02cc6bcc1b99d547ff2ed7832b4c
2022-04-22 01:36:41 +02:00
..
styles Improve smooth scroll to section behaviour 2022-02-15 15:23:47 +00:00
.eslintrc.json Prefere ve.extendObject over $.extend 2021-11-15 21:30:19 +00:00
ve.init.mw.ArticleTargetLoader.js Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
ve.init.mw.ArticleTargetSaver.js Merge "Log whenever browser plugin spam is detected" 2022-02-21 23:29:39 +00:00
ve.init.mw.DesktopArticleTarget.init.js DesktopArticleTarget.init: Wait for deactivating to finish before activating 2022-04-07 23:26:58 +02: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 Remove conflicting section IDs in diff views 2022-01-19 01:26:14 +00: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 Move vars inline in preinit code 2021-05-05 18:06:37 +01:00
ve.init.MWWelcomeDialog.js eslint: Enable no-jquery/no-append-html 2021-12-16 02:04:11 +01:00
ve.utils.parsoid.js Check for external url protocols during conversion 2022-04-22 01:36:41 +02:00