Index: trunk/extensions/AddMediaWizard/AddMediaWizard.php |
— | — | @@ -50,9 +50,6 @@ |
51 | 51 | // Add the javascript loader for "ClipEdit module" |
52 | 52 | $wgExtensionJavascriptLoader[] = 'extensions/AddMediaWizard/ClipEdit/loader.js'; |
53 | 53 | |
54 | | -// Add the apiProxy ( client ) so that we can upload cross domain to commons |
55 | | -$wgExtensionJavascriptLoader[] = 'extensions/AddMediaWizard/ApiProxy/loader.js'; |
56 | | - |
57 | 54 | class AddMediaWizard { |
58 | 55 | public static function addJS( $toolbar) { |
59 | 56 | global $wgOut; |
Index: trunk/extensions/AddMediaWizard/README |
— | — | @@ -1,10 +1,20 @@ |
2 | | -# AddMediaWizard is dependent on js2 / mwEmbed, you must include js2Support extension prior to AddMediaWizard.php |
| 2 | +# AddMediaWizard is dependent on js2 / mwEmbed, you must include js2Support extension |
| 3 | +prior to AddMediaWizard.php |
3 | 4 | |
4 | 5 | # To enable add the following to localSettings.php |
5 | | - |
6 | 6 | # JS2 / mwEmbed Support |
7 | 7 | require_once( "$IP/extensions/JS2Support/JS2Support.php" ); |
8 | | - |
9 | 8 | # Add Media Wizard |
10 | 9 | require_once( "$IP/extensions/AddMediaWizard/AddMediaWizard.php" ); |
11 | 10 | |
| 11 | +== Recommended Dependencies == |
| 12 | +AddMediaWiard "should work" without these decencies but you will need to be careful in your |
| 13 | +configuration of the extension that you don't request unavailable features |
| 14 | + |
| 15 | +# To support cross-domain contributions to commons you will also need the apiProxy |
| 16 | +javascript module: |
| 17 | +require_once( "$IP/extensions/ApiProxy/ApiProxy.php" ); |
| 18 | + |
| 19 | +# To support adding video to pages you will also need the TimedMediaHandler extension: |
| 20 | +require_once( "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php" ); |
| 21 | + |