-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
212 lines (212 loc) · 6.27 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
{
"name": "EduSharing",
"version": "2.0",
"author": [
"https://edu-sharing.net",
"https://idea-sketch.com"
],
"url": "https://www.mediawiki.org/wiki/Extension:EduSharing",
"descriptionmsg": "edusharing-desc",
"requires": {
"MediaWiki": ">= 1.35.0",
"extensions": {
}
},
"license-name": "MIT",
"type": "",
"SpecialPages": {
"EduSharingRegister": "SpecialEduSharingRegister",
"EduRenderProxy": "SpecialEduRenderProxy",
"EduInlineHelper": "SpecialEduInlineHelper"
},
"MessagesDirs": {
"EduSharing": [
"i18n"
]
},
"AutoloadClasses": {
"EduSharing": "includes/EduSharing.php",
"EduSharingConfig": "includes/EduSharingConfig.php",
"EduSharingService": "includes/EduSharingService.php",
"EduSharingHooks": "includes/EduSharingHooks.php",
"SpecialEduSharingRegister": "includes/specials/SpecialEduSharingRegister.php",
"SpecialEduRenderProxy": "includes/specials/SpecialEduRenderProxy.php",
"SpecialEduInlineHelper": "includes/specials/SpecialEduInlineHelper.php"
},
"Hooks": {
"ResourceLoaderGetConfigVars": [
"EduSharingHooks::onResourceLoaderGetConfigVars"
],
"MakeGlobalVariablesScript": [
"EduSharingHooks::onMakeGlobalVariablesScript"
],
"ParserFirstCallInit": [
"EduSharingHooks::wfEdusharingExtensionInit"
],
"ParserPreSaveTransformComplete": [
"EduSharingHooks::onParserPreSaveTransformComplete"
],
"ArticleDelete": [
"EduSharingHooks::onArticleDelete"
],
"ArticleUndelete": [
"EduSharingHooks::onArticleUndelete"
],
"BeforePageDisplay": [
"EduSharingHooks::onBeforePageDisplay"
],
"LoadExtensionSchemaUpdates": [
"EduSharingHooks::createEdusharingDatabase",
"EduSharingHooks::updateEdusharingDatabase"
],
"ArticleInsertComplete": [
"EduSharingHooks::onArticleInsertComplete"
]
},
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.eduSharing.visualEditor"
]
}
},
"ResourceModules": {
"ext.eduSharing.dialog": {
"styles": "resources/less/ext.eduSharing.screen.less",
"scripts": "resources/js/ext.eduSharing.dialog.js",
"dependencies": [
"ext.wikiEditor"
],
"messages": [
"wikieditor-toolbar-edusharing-title",
"wikieditor-toolbar-edusharing-object",
"wikieditor-toolbar-edusharing-search",
"wikieditor-toolbar-edusharing-caption",
"wikieditor-toolbar-edusharing-height",
"wikieditor-toolbar-edusharing-width",
"wikieditor-toolbar-edusharing-insert",
"wikieditor-toolbar-edusharing-cancel",
"wikieditor-toolbar-edusharing-px",
"wikieditor-toolbar-edusharing-float",
"wikieditor-toolbar-edusharing-float-left",
"wikieditor-toolbar-edusharing-float-none",
"wikieditor-toolbar-edusharing-float-right",
"wikieditor-toolbar-edusharing-float-inline",
"wikieditor-toolbar-edusharing-constrainPropoertions",
"wikieditor-toolbar-edusharing-version",
"wikieditor-toolbar-edusharing-version-latest",
"wikieditor-toolbar-edusharing-version-current"
],
"targets": [
"mobile",
"desktop"
]
},
"ext.eduSharing.display": {
"styles": "resources/less/ext.eduSharing.filter.less",
"scripts": "resources/js/ext.eduSharing.edu.js",
"dependencies": [],
"messages": [],
"targets": [
"mobile",
"desktop"
],
"position": "top"
},
"ext.eduSharing.visualEditor": {
"scripts": [
"modules/ve.ce.MWEduSharingNode.js",
"modules/ve.dm.MWEduSharingNode.js",
"modules/ve.ui.MWEduSharingDialog.js",
"modules/ve.ui.MWEduSharingDialogTool.js"
],
"styles": [
"modules/ve.ui.MWEduSharing.less",
"modules/ve.ui.MWEduSharingIcons.less"
],
"dependencies": [
"oojs-ui.styles.icons-editing-advanced",
"ext.visualEditor.mwcore",
"ext.visualEditor.mwimage.core",
"mediawiki.widgets.Table"
],
"messages": [
"visualeditor-mwedusharingdialog-button",
"visualeditor-mwedusharingdialog-title",
"visualeditor-mwedusharingdialog-help-title",
"visualeditor-mwedusharingdialog-select",
"visualeditor-mwedusharingdialog-change",
"visualeditor-mwedusharingdialog-options",
"visualeditor-mwedusharingdialog-action",
"visualeditor-mwedusharingdialog-id",
"visualeditor-mwedusharingdialog-caption",
"visualeditor-mwedusharingdialog-mimetype",
"visualeditor-mwedusharingdialog-version",
"visualeditor-mwedusharingdialog-repotype",
"visualeditor-mwedusharingdialog-versionshow",
"visualeditor-mwedusharingdialog-versionshow-latest",
"visualeditor-mwedusharingdialog-versionshow-current",
"visualeditor-mwedusharingdialog-size",
"visualeditor-mwedusharingdialog-align"
],
"targets": [
"mobile",
"desktop"
]
}
},
"config": {
"EduSharingBaseUrl": {
"description": "Defines the URL of the edu-sharing repository",
"value": "https://example.com/edu-sharing"
},
"EduSharingAppId": {
"description": "Defines the AppID with which this wiki is registered at the edu-sharing repository",
"value": "mediawiki-app-id"
},
"EduSharingAppDomain": {
"description": "Defines the fqdn under which the wiki is running",
"value": "wiki.example.com"
},
"EduSharingAppHost": {
"description": "The public ip address of the wiki host",
"value": "192.168.0.1"
},
"EduSharingIconMimeAudio": {
"description": "Audio Icon",
"value": "audio.png"
},
"EduSharingIconMimeVideo": {
"description": "Video Icon",
"value": "video.png"
},
"EduSharingPrivateKeyFile": {
"description": "Path to file containing the private key, relative to MW install dir",
"value": "extensions/EduSharing/conf/private.key"
},
"EduSharingPublicKeyFile": {
"description": "Path to file containing the public key, relative to MW install dir",
"value": "extensions/EduSharing/conf/public.key"
},
"EduSharingRepoPublicKeyFile": {
"description": "Path to file containing the repository's public key, relative to MW install dir",
"value": "extensions/EduSharing/conf/repopublic.key"
},
"EduSharingGuestUserName": {
"description": "Username to use for anonymous repository access",
"value": "esguest"
},
"EduSharingForceGuestUser": {
"description": "Always use anonymous repository access",
"value": false
}
},
"ConfigRegistry": {
"edusharing": "GlobalVarConfig::newInstance"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "EduSharing"
},
"manifest_version": 2
}