mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Merge "Make URL schemes case-insensitive"
This commit is contained in:
commit
1088e953a9
|
@ -19,10 +19,12 @@ ve.init.mw.Platform = function VeInitMwPlatform() {
|
|||
|
||||
// Properties
|
||||
this.externalLinkUrlProtocolsRegExp = new RegExp(
|
||||
'^(' + mw.config.get( 'wgUrlProtocols' ) + ')'
|
||||
'^(' + mw.config.get( 'wgUrlProtocols' ) + ')',
|
||||
'i'
|
||||
);
|
||||
this.unanchoredExternalLinkUrlProtocolsRegExp = new RegExp(
|
||||
'(' + mw.config.get( 'wgUrlProtocols' ) + ')'
|
||||
'(' + mw.config.get( 'wgUrlProtocols' ) + ')',
|
||||
'i'
|
||||
);
|
||||
this.parsedMessages = {};
|
||||
this.linkCache = new ve.init.mw.LinkCache();
|
||||
|
|
Loading…
Reference in a new issue