forked from wikimedia/mediawiki-extensions-WikiEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
347 lines (347 loc) · 13.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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
{
"name": "WikiEditor",
"version": "0.5.1",
"author": [
"Derk-Jan Hartman",
"Trevor Parscal",
"Roan Kattouw",
"Nimish Gautam",
"Adam Miller"
],
"url": "https://www.mediawiki.org/wiki/Extension:WikiEditor",
"descriptionmsg": "wikieditor-desc",
"license-name": "GPL-2.0-or-later",
"type": "editor",
"requires": {
"MediaWiki": ">= 1.28.0"
},
"MessagesDirs": {
"WikiEditor": [
"i18n"
]
},
"Hooks": {
"EditPage::showEditForm:initial": [
"WikiEditorHooks::editPageShowEditFormInitial"
],
"GetPreferences": [
"WikiEditorHooks::getPreferences"
],
"ResourceLoaderGetConfigVars": [
"WikiEditorHooks::resourceLoaderGetConfigVars"
],
"ResourceLoaderTestModules": [
"WikiEditorHooks::resourceLoaderTestModules"
],
"MakeGlobalVariablesScript": [
"WikiEditorHooks::makeGlobalVariablesScript"
],
"EditPageBeforeEditToolbar": [
"WikiEditorHooks::EditPageBeforeEditToolbar"
],
"EditPage::showEditForm:fields": [
"WikiEditorHooks::editPageShowEditFormFields"
],
"EditPage::attemptSave": [
"WikiEditorHooks::editPageAttemptSave"
],
"EditPage::attemptSave:after": [
"WikiEditorHooks::editPageAttemptSaveAfter"
]
},
"ResourceModules": {
"ext.wikiEditor": {
"group": "ext.wikiEditor",
"scripts": [
"jquery.wikiEditor.js",
"jquery.wikiEditor.toolbar.js",
"jquery.wikiEditor.toolbar.config.js",
"jquery.wikiEditor.dialogs.js",
"jquery.wikiEditor.dialogs.config.js",
"ext.wikiEditor.js",
"ext.wikiEditor.toolbar.js",
"ext.wikiEditor.dialogs.js"
],
"styles": [
"jquery.wikiEditor.less",
"jquery.wikiEditor.toolbar.less",
"jquery.wikiEditor.dialogs.less",
"jquery.wikiEditor.dialogs.config.less"
],
"templates": {
"dialogInsertFile.html": "templates/dialogInsertFile.html",
"dialogInsertLink.html": "templates/dialogInsertLink.html",
"dialogInsertReference.html": "templates/dialogInsertReference.html",
"dialogInsertTable.html": "templates/dialogInsertTable.html",
"dialogReplace.html": "templates/dialogReplace.html"
},
"messages": [
"wikieditor-wikitext-tab",
"wikieditor-loading",
"wikieditor-toolbar-loading",
"wikieditor-toolbar-tool-bold",
"wikieditor-toolbar-tool-bold-example",
"wikieditor-toolbar-tool-italic",
"wikieditor-toolbar-tool-italic-example",
"wikieditor-toolbar-tool-ilink",
"wikieditor-toolbar-tool-ilink-example",
"wikieditor-toolbar-tool-xlink",
"wikieditor-toolbar-tool-xlink-example",
"wikieditor-toolbar-tool-link",
"wikieditor-toolbar-tool-link-title",
"wikieditor-toolbar-tool-link-int",
"wikieditor-toolbar-tool-link-int-target",
"wikieditor-toolbar-tool-link-int-target-tooltip",
"wikieditor-toolbar-tool-link-int-text",
"wikieditor-toolbar-tool-link-int-text-tooltip",
"wikieditor-toolbar-tool-link-ext",
"wikieditor-toolbar-tool-link-ext-target",
"wikieditor-toolbar-tool-link-ext-text",
"wikieditor-toolbar-tool-link-insert",
"wikieditor-toolbar-tool-link-cancel",
"wikieditor-toolbar-tool-link-int-target-status-exists",
"wikieditor-toolbar-tool-link-int-target-status-notexists",
"wikieditor-toolbar-tool-link-int-target-status-invalid",
"wikieditor-toolbar-tool-link-int-target-status-external",
"wikieditor-toolbar-tool-link-int-target-status-loading",
"wikieditor-toolbar-tool-link-int-target-status-disambig",
"wikieditor-toolbar-tool-link-int-invalid",
"wikieditor-toolbar-tool-link-lookslikeinternal",
"wikieditor-toolbar-tool-link-lookslikeinternal-int",
"wikieditor-toolbar-tool-link-lookslikeinternal-ext",
"wikieditor-toolbar-tool-link-empty",
"wikieditor-toolbar-tool-file",
"wikieditor-toolbar-tool-file-example",
"wikieditor-toolbar-tool-reference",
"wikieditor-toolbar-tool-reference-title",
"wikieditor-toolbar-tool-reference-cancel",
"wikieditor-toolbar-tool-reference-text",
"wikieditor-toolbar-tool-reference-insert",
"wikieditor-toolbar-tool-reference-example",
"wikieditor-toolbar-tool-signature",
"wikieditor-toolbar-section-advanced",
"wikieditor-toolbar-tool-heading",
"wikieditor-toolbar-tool-heading-1",
"wikieditor-toolbar-tool-heading-2",
"wikieditor-toolbar-tool-heading-3",
"wikieditor-toolbar-tool-heading-4",
"wikieditor-toolbar-tool-heading-5",
"wikieditor-toolbar-tool-heading-example",
"wikieditor-toolbar-group-format",
"wikieditor-toolbar-tool-ulist",
"wikieditor-toolbar-tool-ulist-example",
"wikieditor-toolbar-tool-olist",
"wikieditor-toolbar-tool-olist-example",
"wikieditor-toolbar-tool-nowiki",
"wikieditor-toolbar-tool-nowiki-example",
"wikieditor-toolbar-tool-redirect",
"wikieditor-toolbar-tool-redirect-example",
"wikieditor-toolbar-tool-big",
"wikieditor-toolbar-tool-big-example",
"wikieditor-toolbar-tool-small",
"wikieditor-toolbar-tool-small-example",
"wikieditor-toolbar-tool-superscript",
"wikieditor-toolbar-tool-superscript-example",
"wikieditor-toolbar-tool-subscript",
"wikieditor-toolbar-tool-subscript-example",
"wikieditor-toolbar-group-insert",
"wikieditor-toolbar-tool-gallery",
"wikieditor-toolbar-tool-gallery-example",
"wikieditor-toolbar-tool-newline",
"wikieditor-toolbar-tool-table",
"wikieditor-toolbar-tool-table-example-old",
"wikieditor-toolbar-tool-table-example-cell-text",
"wikieditor-toolbar-tool-table-example",
"wikieditor-toolbar-tool-table-example-header",
"wikieditor-toolbar-tool-table-title",
"wikieditor-toolbar-tool-table-dimensions-rows",
"wikieditor-toolbar-tool-table-dimensions-columns",
"wikieditor-toolbar-tool-table-dimensions-header",
"wikieditor-toolbar-tool-table-wikitable",
"wikieditor-toolbar-tool-table-sortable",
"wikieditor-toolbar-tool-table-insert",
"wikieditor-toolbar-tool-table-cancel",
"wikieditor-toolbar-tool-table-example-text",
"wikieditor-toolbar-tool-table-toomany",
"wikieditor-toolbar-tool-table-invalidnumber",
"wikieditor-toolbar-tool-table-zero",
"wikieditor-toolbar-tool-replace",
"wikieditor-toolbar-tool-replace-title",
"wikieditor-toolbar-tool-replace-search",
"wikieditor-toolbar-tool-replace-replace",
"wikieditor-toolbar-tool-replace-case",
"wikieditor-toolbar-tool-replace-regex",
"wikieditor-toolbar-tool-replace-button-findnext",
"wikieditor-toolbar-tool-replace-button-replace",
"wikieditor-toolbar-tool-replace-button-replaceall",
"wikieditor-toolbar-tool-replace-close",
"wikieditor-toolbar-tool-replace-nomatch",
"wikieditor-toolbar-tool-replace-success",
"wikieditor-toolbar-tool-replace-emptysearch",
"wikieditor-toolbar-tool-replace-invalidregex",
"wikieditor-toolbar-section-characters",
"wikieditor-toolbar-section-help",
"wikieditor-toolbar-help-heading-description",
"wikieditor-toolbar-help-heading-syntax",
"wikieditor-toolbar-help-heading-result",
"wikieditor-toolbar-help-page-format",
"wikieditor-toolbar-help-page-link",
"wikieditor-toolbar-help-page-heading",
"wikieditor-toolbar-help-page-list",
"wikieditor-toolbar-help-page-file",
"wikieditor-toolbar-help-page-reference",
"wikieditor-toolbar-help-page-discussion",
"wikieditor-toolbar-help-content-bold-description",
"wikieditor-toolbar-help-content-bold-syntax",
"wikieditor-toolbar-help-content-bold-result",
"wikieditor-toolbar-help-content-italic-description",
"wikieditor-toolbar-help-content-italic-syntax",
"wikieditor-toolbar-help-content-italic-result",
"wikieditor-toolbar-help-content-bolditalic-description",
"wikieditor-toolbar-help-content-bolditalic-syntax",
"wikieditor-toolbar-help-content-bolditalic-result",
"wikieditor-toolbar-help-content-ilink-description",
"wikieditor-toolbar-help-content-ilink-syntax",
"wikieditor-toolbar-help-content-ilink-result",
"wikieditor-toolbar-help-content-xlink-description",
"wikieditor-toolbar-help-content-xlink-syntax",
"wikieditor-toolbar-help-content-xlink-result",
"wikieditor-toolbar-help-content-heading2-description",
"wikieditor-toolbar-help-content-heading2-syntax",
"wikieditor-toolbar-help-content-heading2-result",
"wikieditor-toolbar-help-content-heading3-description",
"wikieditor-toolbar-help-content-heading3-syntax",
"wikieditor-toolbar-help-content-heading3-result",
"wikieditor-toolbar-help-content-heading4-description",
"wikieditor-toolbar-help-content-heading4-syntax",
"wikieditor-toolbar-help-content-heading4-result",
"wikieditor-toolbar-help-content-heading5-description",
"wikieditor-toolbar-help-content-heading5-syntax",
"wikieditor-toolbar-help-content-heading5-result",
"wikieditor-toolbar-help-content-ulist-description",
"wikieditor-toolbar-help-content-ulist-syntax",
"wikieditor-toolbar-help-content-ulist-result",
"wikieditor-toolbar-help-content-olist-description",
"wikieditor-toolbar-help-content-olist-syntax",
"wikieditor-toolbar-help-content-olist-result",
"wikieditor-toolbar-help-content-file-description",
"wikieditor-toolbar-help-content-file-syntax",
"wikieditor-toolbar-help-content-file-caption",
"thumbnail-more",
"wikieditor-toolbar-help-content-reference-description",
"wikieditor-toolbar-help-content-reference-syntax",
"wikieditor-toolbar-help-content-reference-result",
"wikieditor-toolbar-help-content-named-reference-description",
"wikieditor-toolbar-help-content-named-reference-syntax",
"wikieditor-toolbar-help-content-named-reference-result",
"wikieditor-toolbar-help-content-rereference-description",
"wikieditor-toolbar-help-content-rereference-syntax",
"wikieditor-toolbar-help-content-rereference-result",
"wikieditor-toolbar-help-content-showreferences-description",
"wikieditor-toolbar-help-content-showreferences-syntax",
"wikieditor-toolbar-help-content-showreferences-result",
"wikieditor-toolbar-help-content-signaturetimestamp-description",
"wikieditor-toolbar-help-content-signaturetimestamp-syntax",
"wikieditor-toolbar-help-content-signaturetimestamp-result",
"wikieditor-toolbar-help-content-signature-description",
"wikieditor-toolbar-help-content-signature-syntax",
"wikieditor-toolbar-help-content-signature-result",
"wikieditor-toolbar-help-content-indent-description",
"wikieditor-toolbar-help-content-indent-syntax",
"wikieditor-toolbar-help-content-indent-result",
"wikieditor-toolbar-tool-file-title",
"wikieditor-toolbar-file-target",
"wikieditor-toolbar-file-caption",
"wikieditor-toolbar-file-size",
"wikieditor-toolbar-file-float",
"wikieditor-toolbar-file-default",
"wikieditor-toolbar-file-format-none",
"wikieditor-toolbar-file-format",
"wikieditor-toolbar-tool-file-insert",
"wikieditor-toolbar-tool-file-cancel",
"wikieditor-toolbar-tool-file-upload"
],
"dependencies": [
"jquery.async",
"jquery.cookie",
"jquery.suggestions",
"jquery.tabIndex",
"jquery.textSelection",
"jquery.ui.button",
"jquery.ui.dialog",
"jquery.ui.draggable",
"jquery.ui.resizable",
"mediawiki.api",
"mediawiki.ForeignStructuredUpload.BookletLayout",
"mediawiki.jqueryMsg",
"mediawiki.language.specialCharacters",
"mediawiki.language",
"mediawiki.RegExp",
"mediawiki.Title",
"mediawiki.Upload.Dialog",
"mediawiki.user",
"oojs-ui.styles.icons-content",
"oojs-ui.styles.icons-editing-advanced",
"oojs-ui.styles.icons-editing-core",
"oojs-ui.styles.icons-editing-list",
"oojs-ui.styles.icons-editing-styling",
"oojs-ui.styles.icons-media"
]
},
"ext.wikiEditor.styles": {
"group": "ext.wikiEditor",
"styles": "ext.wikiEditor.toolbar.styles.less"
},
"ext.wikiEditor.toolbar": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"ext.wikiEditor.dialogs": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"ext.wikiEditor.core": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.core": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.dialogs": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.dialogs.config": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.toolbar": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.toolbar.config": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
},
"jquery.wikiEditor.toolbar.i18n": {
"dependencies": "ext.wikiEditor",
"deprecated": "Please use 'ext.wikiEditor' instead."
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "WikiEditor/modules"
},
"DefaultUserOptions": {
"usebetatoolbar": true
},
"AutoloadClasses": {
"WikiEditorHooks": "includes/WikiEditorHooks.php"
},
"manifest_version": 1
}