mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Remove unused modules URL
Change-Id: I1e66866388ee862bc122faacebbd5f3883bd90f8
This commit is contained in:
parent
3b277a7a28
commit
7c923c2044
|
@ -21,7 +21,6 @@ ve.init.mw.Platform = function VeInitMwPlatform() {
|
|||
this.externalLinkUrlProtocolsRegExp = new RegExp(
|
||||
'^(' + mw.config.get( 'wgUrlProtocols' ) + ')'
|
||||
);
|
||||
this.modulesUrl = mw.config.get( 'wgExtensionAssetsPath' ) + '/VisualEditor/modules';
|
||||
this.parsedMessages = {};
|
||||
this.linkCache = new ve.init.mw.LinkCache();
|
||||
};
|
||||
|
@ -37,11 +36,6 @@ ve.init.mw.Platform.prototype.getExternalLinkUrlProtocolsRegExp = function () {
|
|||
return this.externalLinkUrlProtocolsRegExp;
|
||||
};
|
||||
|
||||
/** @inheritdoc */
|
||||
ve.init.mw.Platform.prototype.getModulesUrl = function () {
|
||||
return this.modulesUrl;
|
||||
};
|
||||
|
||||
/** @inheritdoc */
|
||||
ve.init.mw.Platform.prototype.addMessages = function ( messages ) {
|
||||
return mw.messages.set( messages );
|
||||
|
|
Loading…
Reference in a new issue