mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
mw.loader#version -> mw.loader#getVersion
mw.loader#version was removed in I57d340015. Change-Id: Icb8e591c379b083cfc5f05a1a24320e0f13f7d12
This commit is contained in:
parent
e2cb8ae29d
commit
f5b2b18a01
|
@ -186,7 +186,7 @@ $.wikiEditor = {
|
||||||
if ( src.substr( 0, 7 ) !== 'http://' && src.substr( 0, 8 ) !== 'https://' && src[0] !== '/' ) {
|
if ( src.substr( 0, 7 ) !== 'http://' && src.substr( 0, 8 ) !== 'https://' && src[0] !== '/' ) {
|
||||||
src = path + src;
|
src = path + src;
|
||||||
}
|
}
|
||||||
return src + '?' + mw.loader.version( 'jquery.wikiEditor' );
|
return src + '?' + mw.loader.getVersion( 'jquery.wikiEditor' );
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue