Index: trunk/extensions/WikiEditor/WikiEditor.php |
— | — | @@ -38,11 +38,7 @@ |
39 | 39 | 'templateEditor' => array( 'global' => false, 'user' => false ), |
40 | 40 | // Bare-bones (probably broken) template collapsing |
41 | 41 | 'templates' => array( 'global' => false, 'user' => false ), |
42 | | - |
43 | | - /* Unknown status */ |
44 | | - |
45 | | - // Adds the AddMediaWizard gadget to the toolbar |
46 | | - 'addMediaWizard' => array( 'global' => false, 'user' => false ), |
| 42 | + |
47 | 43 | ); |
48 | 44 | |
49 | 45 | /* Setup */ |
Index: trunk/extensions/WikiEditor/modules/ext.wikiEditor.addMediaWizard.js |
— | — | @@ -1,15 +0,0 @@ |
2 | | -/* |
3 | | - * JavaScript for WikiEditor AddMediaWizard integration |
4 | | - */ |
5 | | - |
6 | | -$( document ).ready( function() { |
7 | | - if ( typeof mwAddMediaConfig == 'undefined' ) { |
8 | | - mwAddMediaConfig = {}; |
9 | | - } |
10 | | - mwAddMediaConfig['enabled_providers'] = [ 'wiki_commons', 'upload' ]; |
11 | | - // Transclude mwEmbed support |
12 | | - mediaWiki.loader.load( |
13 | | - 'http://prototype.wikimedia.org/s-2/js/mwEmbed/remotes/mediaWiki.js?&uselang=' + wgUserLanguage, |
14 | | - 'text/javascript' |
15 | | - ); |
16 | | -}; |
\ No newline at end of file |