Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | */ |
6 | 6 | var urlparts = getRemoteEmbedPath(); |
7 | 7 | var mwEmbedHostPath = urlparts[0]; |
8 | | -var mwRemoteVersion = 'r184'; |
| 8 | +var mwRemoteVersion = 'r185'; |
9 | 9 | |
10 | 10 | // Log the mwRemote version makes it easy to debug cache issues |
11 | 11 | if( window.console ){ |
— | — | @@ -91,6 +91,10 @@ |
92 | 92 | [ /wikimedia\.org$/ , /wikipedia\.org$/ , /wiktionary.org$/ , /wikinews.org$/ , /wikibooks.org$/ , /wikisource.org$/ , /wikiversity.org$/ , /wikiquote.org$/ ] |
93 | 93 | ); |
94 | 94 | |
| 95 | +// Set legacy add media wizard config |
| 96 | +mwAddMediaConfig['enabled_providers'] = [ 'wiki_commons', 'upload' ] |
| 97 | + |
| 98 | + |
95 | 99 | // Legacy Add media wizard config: |
96 | 100 | if( typeof mwAddMediaConfig == 'undefined'){ |
97 | 101 | mwAddMediaConfig = {}; |