-
Notifications
You must be signed in to change notification settings - Fork 1
/
extension.json
275 lines (274 loc) · 10.2 KB
/
extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
{
"name":"CourseEditor",
"version":"0.1.0",
"author":[
"Alessandro Tundo",
"Gianluca Rigoletti",
"Riccardo Iaconelli"
],
"url":"https://github.com/WikiToLearn/CourseEditor",
"descriptionmsg":"",
"license-name":"GPLv3",
"type":"special",
"APIModules": {
"coursetree": "CourseEditorApi"
},
"AutoloadClasses":{
"CourseEditorApi" : "CourseEditorApi.php",
"CourseEditor":"CourseEditor.php",
"CourseEditorOperations":"CourseEditorOperations.php",
"CourseEditorUtils":"CourseEditorUtils.php",
"LevelTwoEditorTemplate":"CourseEditorTemplates.php",
"CourseEditorTemplate" : "CourseEditorTemplates.php",
"CourseCreatorTemplate" : "CourseEditorTemplates.php",
"ManageMetadataTemplate" : "CourseEditorTemplates.php",
"PublishCourseTemplate" : "CourseEditorTemplates.php",
"SpecialCourseEditor":"SpecialCourseEditor.php"
},
"MessagesDirs":{
"CourseEditor":[
"i18n"
]
},
"ExtensionMessagesFiles": {
"CourseEditorAlias": "CourseEditor.alias.php",
"CourseEditorNamespaces": "CourseEditor.namespaces.php"
},
"ResourceFileModulePaths": {
"localBasePath": ""
},
"ResourceModules": {
"ext.courseEditor.publish": {
"scripts":[
"modules/publishCourse.js",
"modules/commonFunctions.js"
],
"dependencies": [
"oojs-ui",
"mediawiki.util"
],
"messages": [
"courseeditor",
"courseeditor-add-new-levelThree",
"courseeditor-save-levelTwo",
"courseeditor-cancel",
"courseeditor-rename",
"courseeditor-edit-dialog",
"courseeditor-message-dialog-title",
"courseeditor-message-dialog-message",
"courseeditor-message-dialog-cancel",
"courseeditor-message-dialog-restore",
"courseeditor-message-dialog-create-new",
"courseeditor-error-operation",
"courseeditor-operation-action-add",
"courseeditor-operation-action-delete",
"courseeditor-operation-action-delete-levelsThree-task",
"courseeditor-operation-action-delete-levelTwo-task",
"courseeditor-operation-action-rename",
"courseeditor-operation-action-rename-move-task",
"courseeditor-operation-action-rename-update-task",
"courseeditor-operation-action-purge",
"courseeditor-operation-action-update",
"courseeditor-operation-action-move-root",
"courseeditor-operation-action-move-metadata",
"courseeditor-operation-action-remove-ready-texts",
"courseeditor-operation-action-update-collection",
"courseeditor-error-operation-fail"
]
},
"ext.courseEditor.manageMetadata": {
"scripts":[
"modules/manageMetadata.js",
"modules/commonFunctions.js"
],
"dependencies": [
"oojs-ui",
"mediawiki.util"
],
"messages": [
"courseeditor",
"courseeditor-add-new-levelThree",
"courseeditor-save-levelTwo",
"courseeditor-cancel",
"courseeditor-rename",
"courseeditor-edit-dialog",
"courseeditor-message-dialog-title",
"courseeditor-message-dialog-message",
"courseeditor-message-dialog-cancel",
"courseeditor-message-dialog-restore",
"courseeditor-message-dialog-create-new",
"courseeditor-error-operation",
"courseeditor-operation-action-add",
"courseeditor-operation-action-delete",
"courseeditor-operation-action-delete-levelsThree-task",
"courseeditor-operation-action-delete-levelTwo-task",
"courseeditor-operation-action-rename",
"courseeditor-operation-action-rename-move-task",
"courseeditor-operation-action-rename-update-task",
"courseeditor-operation-action-purge",
"courseeditor-operation-action-update",
"courseeditor-operation-action-move-root",
"courseeditor-operation-action-move-metadata",
"courseeditor-operation-action-remove-ready-texts",
"courseeditor-operation-action-update-collection",
"courseeditor-operation-action-remove-from-topic-page",
"courseeditor-operation-action-append-to-topic-page",
"courseeditor-operation-action-update-topic-page",
"courseeditor-operation-action-update-user-page",
"courseeditor-error-operation-fail",
"courseeditor-confirmation-dialog-title",
"courseeditor-confirmation-dialog-message",
"courseeditor-alert-dialog-title",
"courseeditor-alert-dialog-message",
"courseeditor-alert-dialog-button",
"courseeditor-alert-dialog-badtitle"
]
},
"ext.courseEditor.create": {
"scripts":[
"modules/commonFunctions.js",
"modules/createCourse.js"
],
"dependencies": [
"oojs-ui",
"mediawiki.util"
],
"messages": [
"courseeditor-progressdialog-wait",
"courseeditor-alert-dialog-badtitle"
]
},
"ext.courseEditor.levelTwo": {
"scripts":[
"modules/commonFunctions.js",
"modules/levelTwoEditor.js"
],
"dependencies": [
"oojs-ui",
"mediawiki.util"
],
"styles": [
"modules/styles/style.css"
],
"messages": [
"courseeditor",
"courseeditor-add-new-levelThree",
"courseeditor-save-levelTwo",
"courseeditor-cancel",
"courseeditor-rename",
"courseeditor-edit-dialog",
"courseeditor-message-dialog-title",
"courseeditor-message-dialog-message",
"courseeditor-message-dialog-cancel",
"courseeditor-message-dialog-restore",
"courseeditor-message-dialog-create-new",
"courseeditor-error-operation",
"courseeditor-operation-action-add",
"courseeditor-operation-action-delete",
"courseeditor-operation-action-delete-levelsThree-task",
"courseeditor-operation-action-delete-levelTwo-task",
"courseeditor-operation-action-rename",
"courseeditor-operation-action-rename-move-task",
"courseeditor-operation-action-rename-update-task",
"courseeditor-operation-action-purge",
"courseeditor-operation-action-update",
"courseeditor-operation-action-update-collection",
"courseeditor-error-operation-fail",
"courseeditor-alert-dialog-badtitle"
]
},
"ext.courseEditor.course": {
"scripts":[
"modules/commonFunctions.js",
"modules/courseEditor.js"
],
"dependencies": [
"oojs-ui",
"mediawiki.util"
],
"styles": [
"modules/styles/style.css"
],
"messages": [
"courseeditor",
"courseeditor-add-new-levelTwo",
"courseeditor-save-course",
"courseeditor-cancel",
"courseeditor-rename",
"courseeditor-edit-dialog",
"courseeditor-message-dialog-title",
"courseeditor-message-dialog-message",
"courseeditor-message-dialog-cancel",
"courseeditor-message-dialog-restore",
"courseeditor-message-dialog-create-new",
"courseeditor-error-operation",
"courseeditor-operation-action-add",
"courseeditor-operation-action-delete",
"courseeditor-operation-action-delete-levelsThree-task",
"courseeditor-operation-action-delete-levelTwo-task",
"courseeditor-operation-action-rename",
"courseeditor-operation-action-rename-move-task",
"courseeditor-operation-action-rename-update-task",
"courseeditor-operation-action-purge",
"courseeditor-operation-action-update",
"courseeditor-operation-action-update-collection",
"courseeditor-error-operation-fail",
"courseeditor-alert-dialog-badtitle"
]
}
},
"namespaces": [
{
"id": 2800,
"constant": "NS_COURSE",
"name": "Course",
"subpages" : true
},
{
"id": 2801,
"constant": "NS_COURSE_TALK",
"name": "Course_talk",
"subpages" : true
},
{
"id": 2900,
"constant": "NS_COURSEMETADATA",
"name": "CourseMetadata"
}
],
"config": {
"CourseEditorTemplates":{
"Topic" : "Topic",
"Course" : "Course",
"CourseRoot" : "CourseRoot",
"CourseLevelTwo" : "CourseLevelTwo",
"ReadyToBePublished": "ReadyToBePublished",
"DeleteMe" : "DeleteMe"
},
"CourseEditorCategories":{
"CourseRoot" : "CourseRoot",
"CourseLevelTwo" : "CourseLevelTwo",
"ReadyToBePublished": "ReadyToBePublished"
},
"CourseEditorNamespaces":{
"Course" : "Course",
"CourseMetadata" : "CourseMetadata"
},
"AjaxExportList": [
"CourseEditorOperations::manageCourseMetadataOp",
"CourseEditorOperations::createCourseOp",
"CourseEditorUtils::getLevelsTwoJson",
"CourseEditorUtils::purgeWrapper",
"CourseEditorOperations::applyLevelTwoOp",
"CourseEditorOperations::applyCourseOp",
"CourseEditorOperations::publishCourseOp",
"CourseEditorOperations::undoPublishCourseOp",
"CourseEditorOperations::applyPublishCourseOp",
"CourseEditorUtils::getCourseTree"
]
},
"SpecialPages": {
"CourseEditor": "SpecialCourseEditor"
},
"manifest_version":1
}