dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "specials: Avoid the use of global variables in Special:Version"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.ForeignStructuredUpload.js
diff --git
a/resources/src/mediawiki.ForeignStructuredUpload.js
b/resources/src/mediawiki.ForeignStructuredUpload.js
index
177861e
..
619cf38
100644
(file)
--- a/
resources/src/mediawiki.ForeignStructuredUpload.js
+++ b/
resources/src/mediawiki.ForeignStructuredUpload.js
@@
-1,4
+1,4
@@
-( function (
mw, $, OO
) {
+( function () {
/**
* Used to represent an upload in progress on the frontend.
*
/**
* Used to represent an upload in progress on the frontend.
*
@@
-25,7
+25,7
@@
// Config for uploads to local wiki.
// Can be overridden with foreign wiki config when #loadConfig is called.
// Config for uploads to local wiki.
// Can be overridden with foreign wiki config when #loadConfig is called.
- this.config =
mw.config.get( 'wgUploadDialog' )
;
+ this.config =
require( './config.json' ).UploadDialog
;
mw.ForeignUpload.call( this, target, apiconfig );
}
mw.ForeignUpload.call( this, target, apiconfig );
}
@@
-247,4
+247,4
@@
};
mw.ForeignStructuredUpload = ForeignStructuredUpload;
};
mw.ForeignStructuredUpload = ForeignStructuredUpload;
-}(
mediaWiki, jQuery, OO
) );
+}() );