forked from Wikifab/mediawiki-extension-ImageAnnotator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
131 lines (131 loc) · 4.35 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
{
"name": "ImageAnnotator",
"version": "1.1.0",
"author": [
"Pierre Boutet"
],
"url": "https://github.com/wikifab/ImageAnnotator",
"descriptionmsg": "imageAnnotator-desc",
"license-name": "MIT",
"type": "other",
"requires": {
"MediaWiki": ">= 1.28.0",
"extensions": {
"Page Forms": "*"
}
},
"callback": "ImageAnnotator\\Hooks::onRegistration",
"ExtensionFunctions": [
"ImageAnnotator\\Hooks::initialize"
],
"config": {
"ImageAnnotator-areaClasses": "imageAnnotator",
"ImageAnnotatorRemoveExif": false,
"ImageAnnotatorOldWgServers": []
},
"MessagesDirs": {
"ImageAnnotator": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"ImageAnnotatorMagic": "ImageAnnotator.i18n.php"
},
"APIModules": {
"iaThumbs": "ImageAnnotator\\ApiImageAnnotatorThumb"
},
"SpecialPages": {
"AnnotatedImageMaintenance": "ImageAnnotator\\SpecialAnnotatedImageMaintenance"
},
"Hooks": {
"BeforePageDisplay": [
"ImageAnnotator\\Hooks::onBeforePageDisplay"
],
"ParserFirstCallInit": [
"ImageAnnotator\\Hooks::onParserFirstCallInit"
],
"FormEdit::showEditForm:initial": [
"ImageAnnotator\\Hooks::start"
],
"SemanticJsonExportBeforeSerializePage": [
"ImageAnnotator\\Hooks::onSemanticJsonExportBeforeSerializePage"
],
"LoadExtensionSchemaUpdates": "ImageAnnotator\\Hooks::onLoadExtensionSchemaUpdates"
},
"ResourceModules": {
"ext.imageannotator.editor": {
"scripts": [
"ressources/fabric-3.5.0.min.js",
"ressources/jquery.popup.overlay.1.7.13.js",
"ressources/mw.ext.imageAnnotator.Shapes.Circle.js",
"ressources/mw.ext.imageAnnotator.Shapes.Ellipse.js",
"ressources/mw.ext.imageAnnotator.Shapes.CropZone.js",
"ressources/mw.ext.imageAnnotator.Shapes.CustomPic.js",
"ressources/mw.ext.imageAnnotator.Shapes.Rect.js",
"ressources/mw.ext.imageAnnotator.Shapes.Line.js",
"ressources/mw.ext.imageAnnotator.Shapes.Arrow.js",
"ressources/mw.ext.imageAnnotator.Shapes.Arrow2Arrow.js",
"ressources/mw.ext.imageAnnotator.Shapes.Arrow2Circle.js",
"ressources/mw.ext.imageAnnotator.Shapes.Arrow2Line.js",
"ressources/mw.ext.imageAnnotator.Shapes.NumberedBullet.js",
"ressources/mw.ext.imageAnnotator.Editor.js",
"ressources/mw.ext.imageAnnotator.CropPopup.js",
"ressources/mw.ext.imageAnnotator.EditorBlock.js",
"ressources/mw.ext.imageAnnotator.EditorPopup.js",
"ressources/mw.ext.imageAnnotator.EditLink.js",
"ressources/mw.ext.imageAnnotator.EditLinkRegister.js",
"ressources/mw.ext.imageAnnotator.init.js"
],
"position": "bottom",
"styles": "ressources/imageAnnotator.css",
"dependencies": [
"oojs"
],
"messages": [
"imageannotator-button-save",
"imageannotator-button-cancel",
"imageannotator-button-crop",
"imageannotator-toolbar-square-label",
"imageannotator-toolbar-circle-label",
"imageannotator-toolbar-arrow-label",
"imageannotator-toolbar-black-label",
"imageannotator-toolbar-white-label",
"imageannotator-toolbar-red-label",
"imageannotator-toolbar-blue-label",
"imageannotator-toolbar-yellow-label",
"imageannotator-toolbar-green-label",
"imageannotator-toolbar-dell-label",
"imageannotator-toolbar-tooltip-freecropping"
]
},
"ext.imageannotator.maintenance": {
"scripts": [
"ressources/maintenance/aiRegeneration/BuildImage.js",
"ressources/maintenance/aiRegeneration/ProcessPageList.js",
"ressources/maintenance/aiRegeneration/ProcessSemanticPage.js",
"ressources/maintenance/aiRegeneration/ProcessVEPage.js",
"ressources/maintenance/annotatedImagesRegeneration.js"
],
"position": "bottom",
"dependencies": [
"ext.imageannotator.editor"
]
},
"ext.imageannotator.editor.css": {
"styles": "ressources/imageAnnotator.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "ImageAnnotator"
},
"AutoloadClasses": {
"ImageAnnotator\\ApiImageAnnotatorThumb": "includes/ApiImageAnnotatorThumb.php",
"ImageAnnotator\\AnnotatedImage": "includes/AnnotatedImage.php",
"ImageAnnotator\\CustomsAnnotation": "includes/CustomsAnnotation.php",
"ImageAnnotator\\Hooks": "includes/Hooks.php",
"ImageAnnotator\\InputEditableImage": "includes/InputEditableImage.php",
"ImageAnnotator\\SpecialAnnotatedImageMaintenance": "includes/specials/SpecialAnnotatedImageMaintenance.php"
},
"manifest_version": 1
}