Index: trunk/extensions/UploadWizard/loader.js |
— | — | @@ -1,139 +0,0 @@ |
2 | | -/* |
3 | | -* Loader for UploadWizard module: |
4 | | -*/ |
5 | | - |
6 | | -// Scope everything in "mw" ( keeps the global namespace clean ) |
7 | | -( function( mw ) { |
8 | | - |
9 | | - mw.addMessages( { |
10 | | - "mwe-loading-upwiz" : "Loading upload wizard" |
11 | | - }); |
12 | | - |
13 | | - // Add class file paths ( From ROOT ) |
14 | | - mw.addResourcePaths( { |
15 | | - "mw.LanguageUpWiz" : "js/mw.LanguageUpWiz.js", |
16 | | - "mw.UploadWizard" : "js/mw.UploadWizard.js", |
17 | | - "mw.style.uploadWizard" : "styles/uploadWizard.css", |
18 | | - |
19 | | - "mw.UploadApiProcessor" : "js/mw.UploadApiProcessor.js", |
20 | | - "mw.IframeTransport" : "js/mw.IframeTransport.js", |
21 | | - "mw.ApiUploadHandler" : "js/mw.ApiUploadHandler.js", |
22 | | - "mw.DestinationChecker" : "js/mw.DestinationChecker.js", |
23 | | - |
24 | | - |
25 | | - "mw.MockUploadHandler" : "js/mw.MockUploadHandler.js", |
26 | | - |
27 | | - "$j.fn.tipsy" : "js/jquery/plugins/jquery.tipsy.js", |
28 | | - "mw.style.tipsy" : "styles/jquery.tipsy.css", |
29 | | - |
30 | | - "$j.fn.morphCrossfade" : "js/jquery/plugins/jquery.morphCrossfade.js", |
31 | | - |
32 | | - "$j.fn.validate" : "js/jquery/plugins/jquery.validate.js", |
33 | | - |
34 | | - "$j.fn.arrowSteps" : "js/jquery/plugins/jquery.arrowSteps.js", |
35 | | - |
36 | | - "$j.fn.mwCoolCats" : "js/jquery/plugins/jquery.mwCoolCats.js", |
37 | | - |
38 | | - "mw.style.arrowSteps" : "styles/jquery.arrowSteps.css", |
39 | | - "mw.style.mwCoolCats" : "styles/jquery.mwCoolCats.css" |
40 | | - }); |
41 | | - |
42 | | - //Set a variable for the base upload interface for easy inclution |
43 | | - // |
44 | | - // var baseUploadlibraries = [ |
45 | | - // [ |
46 | | - // 'mw.UploadHandler', |
47 | | - // 'mw.UploadInterface', |
48 | | - // '$j.ui' |
49 | | - // ], |
50 | | - // [ |
51 | | - // '$j.ui.progressbar', |
52 | | - // '$j.ui.dialog', |
53 | | - // '$j.ui.draggable', |
54 | | - // '$j.fn.autocomplete' |
55 | | - // ] |
56 | | - // ]; |
57 | | - // |
58 | | - // var mwBaseFirefoggReq = baseUploadlibraries.slice( 0 ) |
59 | | - // mwBaseFirefoggReq[0].push('mw.Firefogg'); |
60 | | - // |
61 | | - |
62 | | - var libraries = [ |
63 | | - [ |
64 | | - '$j.ui' |
65 | | - ], |
66 | | - [ |
67 | | - '$j.ui.progressbar' |
68 | | - ], |
69 | | - [ |
70 | | - '$j.ui.datepicker' |
71 | | - ], |
72 | | - [ |
73 | | - '$j.effects' |
74 | | - ], |
75 | | - [ |
76 | | - '$j.effects.slide' |
77 | | - ], |
78 | | - [ |
79 | | - 'mw.style.autocomplete' |
80 | | - ], |
81 | | - [ |
82 | | - '$j.fn.autocomplete' |
83 | | - ], |
84 | | - [ |
85 | | - 'mw.style.tipsy' |
86 | | - ], |
87 | | - [ |
88 | | - '$j.fn.tipsy' |
89 | | - ], |
90 | | - [ |
91 | | - '$j.fn.morphCrossfade' |
92 | | - ], |
93 | | - [ |
94 | | - '$j.fn.validate' |
95 | | - ], |
96 | | - [ |
97 | | - 'mw.style.arrowSteps' |
98 | | - ], |
99 | | - [ |
100 | | - '$j.fn.arrowSteps' |
101 | | - ], |
102 | | - [ |
103 | | - 'mw.style.mwCoolCats' |
104 | | - ], |
105 | | - [ |
106 | | - '$j.fn.mwCoolCats' |
107 | | - ], |
108 | | - [ |
109 | | - 'mw.LanguageUpWiz' |
110 | | - ], |
111 | | - [ |
112 | | - 'mw.IframeTransport' |
113 | | - ], |
114 | | - [ |
115 | | - 'mw.ApiUploadHandler' |
116 | | - ], |
117 | | - [ |
118 | | - 'mw.DestinationChecker' |
119 | | - ], |
120 | | - [ |
121 | | - 'mw.style.uploadWizard' |
122 | | - ], |
123 | | - [ |
124 | | - 'mw.UploadWizard' |
125 | | - ] |
126 | | - ]; |
127 | | - |
128 | | - var testLibraries = libraries.slice( 0 ); |
129 | | - testLibraries.push( [ 'mw.MockUploadHandler' ] ); |
130 | | - |
131 | | - /** |
132 | | - * Note: We should move relevant parts of these style sheets to the addMedia/css folder |
133 | | - * phase 2: We should separate out sheet sets per sub-module: |
134 | | - */ |
135 | | - |
136 | | - mw.addModuleLoader( 'UploadWizard.UploadWizard', libraries ); |
137 | | - |
138 | | - mw.addModuleLoader( 'UploadWizard.UploadWizardTest', testLibraries ); |
139 | | - |
140 | | -} )( window.mw ); |
Index: trunk/extensions/UploadWizard/README |
— | — | @@ -1,10 +0,0 @@ |
2 | | -Developers should not modify the contents of mwEmbed.i18n.php directly. |
3 | | - |
4 | | -mwEmbed.i18n.php is updated by maintenance scripts. |
5 | | - |
6 | | -Two scripts write to this file: |
7 | | -* mwEmbed/includes/maintenance/mergeJavascriptMsg.php |
8 | | -Copies English messages from every mwEmbed javascript module |
9 | | - |
10 | | -* Translate wiki script |
11 | | -Copies the translate wiki localised msgs into the file. |
\ No newline at end of file |