-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathextension.json
126 lines (126 loc) · 3.24 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
{
"name": "DrawioEditor",
"license-name": "GPL-3.0-only",
"version": "3.0.0-alpha",
"author": [
"Markus Gebert",
"[https://www.hallowelt.com Hallo Welt! GmbH]"
],
"url": "https://www.mediawiki.org/wiki/Extension:DrawioEditor",
"attributes": {
"ContentDroplets": {
"Droplets": {
"drawio": {
"class": "\\MediaWiki\\Extension\\DrawioEditor\\ContentDroplets\\DrawioDroplet"
}
}
},
"DrawioEditor": {
"InspectorPluginModules": []
}
},
"descriptionmsg": "drawioeditor-desc",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.39.0"
},
"callback": "mwsInitComponents",
"ExtensionMessagesFiles": {
"DrawioEditorMagic": "DrawioEditor.magic.php"
},
"MessagesDirs": {
"DrawioEditor": [
"i18n"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\DrawioEditor\\": "src/"
},
"ResourceModules": {
"ext.drawioeditor.styles": {
"styles": "ext.drawioeditor.css"
},
"ext.drawioeditor": {
"scripts": "ext.drawioeditor.js",
"dependencies": [
"jquery.ui",
"mediawiki.api"
],
"messages": [
"drawioeditor-approved-editwarning",
"drawioeditor-approved-displaywarning",
"drawioeditor-noapproved",
"drawioeditor-approve-link",
"drawioeditor-changeapprove-link"
]
},
"ext.drawioconnector.visualEditor.bootstrap": {
"packageFiles": [
"ext.drawioconnector.visualEditor.bootstrap.js",
{
"name": "pluginModules.json",
"callback": "MediaWiki\\Extension\\DrawioEditor\\DrawioInspectorPluginModules::getPluginModules"
}
]
},
"ext.drawioconnector.visualEditor": {
"scripts": [
"ve/ve.dm.DrawioNode.js",
"ve/ve.ce.DrawioNode.js",
"ve/ve.ui.DrawioInspector.js",
"ve/ve.ui.DrawioNodeTool.js",
"FilenameProcessor.js"
],
"styles": [
"ext.drawio.droplet.css"
],
"dependencies": [
"ext.visualEditor.mwcore",
"oojs-ui"
],
"messages": [
"drawio-tag-title",
"drawioconnector-ve-drawio-title",
"drawioconnector-ve-drawio-tag-name",
"drawioconnector-ve-drawio-tag-name-help",
"drawio-usage",
"drawio-droplet-name",
"drawio-droplet-description",
"drawioconnector-ve-drawio-alt-label",
"drawioconnector-ve-drawio-alt-help"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "DrawioEditor/resources"
},
"Hooks": {
"ParserFirstCallInit": [
"tag",
"MediaWiki\\Extension\\DrawioEditor\\Hook\\ParserFirstCallInit\\SetFunctionHook::callback"
],
"DrawioGetFile": "approveRevsSetStableFile",
"BSUEModulePDFFindFiles": "\\MediaWiki\\Extension\\DrawioEditor\\Hooks::onBSUEModulePDFFindFiles",
"BSUEModulePDFBeforeAddingStyleBlocks": "\\MediaWiki\\Extension\\DrawioEditor\\Hooks::onBSUEModulePDFBeforeAddingStyleBlocks",
"ImagePageAfterImageLinks": "\\MediaWiki\\Extension\\DrawioEditor\\Hooks::onImagePageAfterImageLinks"
},
"HookHandlers": {
"tag": {
"class": "\\MediaWiki\\Extension\\DrawioEditor\\Hook\\Tag"
},
"approveRevsSetStableFile": {
"class": "MediaWiki\\Extension\\DrawioEditor\\Hook\\ApprovedRevsSetStableFile",
"services": [ "DBLoadBalancer", "RepoGroup" ]
}
},
"config": {
"DrawioEditorImageType": {
"value": "png"
},
"DrawioEditorBackendUrl": {
"value": "https://embed.diagrams.net"
}
},
"manifest_version": 2
}