-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathextension.json
209 lines (209 loc) · 5.48 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
{
"name": "Score",
"version": "0.3.0",
"author": [
"Alexander Klauer",
"Étienne Beaulé"
],
"url": "https://www.mediawiki.org/wiki/Extension:Score",
"descriptionmsg": "score-desc",
"license-name": "GPL-3.0-or-later",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.43"
},
"MessagesDirs": {
"Score": [
"i18n"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Score\\": "includes/"
},
"ResourceModules": {
"ext.score.visualEditor": {
"scripts": [
{
"name": "ve-score/MWScoreConfig.js",
"callback": "MediaWiki\\Extension\\Score\\ScoreVeConfig::makeScript"
},
"ve-score/ve.dm.MWScoreNode.js",
"ve-score/ve.ce.MWScoreNode.js",
"ve-score/ve.ui.MWScoreContextItem.js",
"ve-score/ve.ui.MWScoreDialog.js",
"ve-score/ve.ui.MWScoreDialogTool.js"
],
"styles": [
"ve-score/ve.ui.MWScoreContextItem.css",
"ve-score/ve.ui.MWScoreDialog.css"
],
"dependencies": [
"ext.visualEditor.mwcore",
"ext.score.visualEditor.icons"
],
"messages": [
"score-visualeditor-mwscoredialog-audio",
"score-visualeditor-mwscoredialog-card-advanced",
"score-visualeditor-mwscoredialog-card-audio",
"score-visualeditor-mwscoredialog-lang",
"score-visualeditor-mwscoredialog-lang-abc",
"score-visualeditor-mwscoredialog-lang-lilypond",
"score-visualeditor-mwscoredialog-notelanguage",
"score-visualeditor-mwscoredialog-override-audio",
"score-visualeditor-mwscoredialog-override-audio-placeholder",
"score-visualeditor-mwscoredialog-override-midi",
"score-visualeditor-mwscoredialog-override-midi-placeholder",
"score-visualeditor-mwscoredialog-raw",
"score-visualeditor-mwscoredialog-title"
]
},
"ext.score.visualEditor.icons": {
"class": "MediaWiki\\ResourceLoader\\ImageModule",
"selectorWithoutVariant": ".oo-ui-icon-{name}",
"selectorWithVariant": ".oo-ui-image-{variant}.oo-ui-icon-{name}",
"variants": {
"progressive": {
"color": "#36c"
},
"invert": {
"color": "#fff"
}
},
"images": {
"score": {
"file": "ve-score/score.svg",
"variants": [
"progressive"
]
}
}
},
"ext.score.popup": {
"packageFiles": [
"ext.score.popup/popup.js"
],
"styles": "ext.score.popup/popup.css",
"dependencies": [
"mediawiki.api"
],
"messages": [
"score-download-midi-file",
"score-download-source-file"
]
},
"ext.score.styles": {
"styles": [
"ext.score.styles.less"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "Score/modules"
},
"Hooks": {
"ParserFirstCallInit": "main",
"SoftwareInfo": "main",
"WikibaseClientDataTypes": [
"MediaWiki\\Extension\\Score\\Hooks::onWikibaseClientDataTypes"
],
"WikibaseRepoDataTypes": [
"MediaWiki\\Extension\\Score\\Hooks::onWikibaseRepoDataTypes"
]
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\Score\\Hooks",
"services": [
"MainConfig"
]
}
},
"config": {
"ScoreTrim": {
"value": null,
"description": "Set to false to keep margins on the generated PNG files"
},
"ScoreUseSvg": {
"value": false,
"description": "Set to true to output SVG images with PNG fallback. Requires LilyPond version >= 2.23.82 with libcairo support"
},
"ScoreLilyPond": {
"value": "/usr/bin/lilypond"
},
"ScoreAbc2Ly": {
"value": "/usr/bin/abc2ly"
},
"ScoreFluidsynth": {
"value": "/usr/bin/fluidsynth"
},
"ScoreSoundfont": {
"value": "/usr/share/sounds/sf2/FluidR3_GM.sf2"
},
"ScoreLame": {
"value": "/usr/bin/lame"
},
"ScoreGhostscript": {
"value": "/usr/bin/gs"
},
"ScoreImageMagickConvert": {
"value": false,
"description": "Path to ImageMagick's convert command. If not set, will fallback to $wgImageMagickConvertCommand"
},
"ScoreEnvironment": {
"value": [],
"description": "A name/value map of environment variables to be passed to all shell commands"
},
"ScoreSafeMode": {
"value": true,
"description": "Must be set to false for LilyPond versions 2.23.12 or newer (safe mode was removed in 2.23.12 as it could no longer be guaranteed safe). For older versions, set this to true to enable LilyPond's safe mode (default). NOTE: if set to false, all inputs should be sanitized and/or trusted, and the LilyPond binary must be appropriately sandboxed."
},
"ScoreDisableExec": {
"value": false,
"description": "Set this to true to disable all new rendering of scores"
},
"ScoreLilyPondFakeVersion": {
"value": false,
"description": "Set this to a version string which will be used even if exec is disabled"
},
"ScorePath": {
"value": false
},
"ScoreDirectory": {
"value": false
},
"ScoreFileBackend": {
"value": false
},
"ScoreMaxLength": {
"value": 400
},
"ScoreOfferSourceDownload": {
"value": false,
"description": "Enable a UI for downloading .ly files generated by Score. This is insecure since .ly files may contain scripts which are executed when the file is rendered on the user's computer."
},
"MusicalNotationEnableWikibaseDataType": {
"value": false
},
"WikibaseMusicalNotationLineWidthInches": {
"value": 0
},
"ScoreDebugOutput": {
"value": false,
"description": "Show the full command output when a shell command fails"
}
},
"TrackingCategories": [
"score-deprecated-category",
"score-use-category",
"score-error-category"
],
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.score.visualEditor"
]
}
},
"manifest_version": 2
}