-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
120 lines (120 loc) · 4.13 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
{
"manifest_version": 2,
"name": "KnowledgeGraph",
"version": "1.0",
"author": "Thomas-topway-it for [https://knowledge.wiki KM-A]",
"url": "https://github.com/SemanticMediaWiki/KnowledgeGraph",
"descriptionmsg": "knowledge-graph-desc",
"namemsg": "knowledge-graph-name",
"type":"semantic",
"requires":{
"MediaWiki":">= 1.31"
},
"MessagesDirs": {
"KnowledgeGraph":[
"i18n"
]
},
"ExtensionMessagesFiles": {
"KnowledgeGraphMagic": "KnowledgeGraph.i18n.magic.php"
},
"AutoloadClasses": {
"KnowledgeGraph":"includes/KnowledgeGraph.php",
"SpecialKnowledgeGraphDesigner":"includes/specials/SpecialKnowledgeGraphDesigner.php",
"KnowledgeGraphApiLoadNodes": "includes/api/KnowledgeGraphApiLoadNodes.php",
"KnowledgeGraphApiLoadProperties": "includes/api/KnowledgeGraphApiLoadProperties.php",
"KnowledgeGraphApiLoadCategories": "includes/api/KnowledgeGraphApiLoadCategories.php"
},
"APIModules": {
"knowledgegraph-load-nodes": "KnowledgeGraphApiLoadNodes",
"knowledgegraph-load-properties": "KnowledgeGraphApiLoadProperties",
"knowledgegraph-load-categories": "KnowledgeGraphApiLoadCategories"
},
"SpecialPages": {
"KnowledgeGraphDesigner": "SpecialKnowledgeGraphDesigner"
},
"Hooks":{
"LoadExtensionSchemaUpdates": "KnowledgeGraph::onLoadExtensionSchemaUpdates",
"BeforePageDisplay":"KnowledgeGraph::onBeforePageDisplay",
"ParserFirstCallInit": "KnowledgeGraph::onParserFirstCallInit",
"OutputPageParserOutput": "KnowledgeGraph::onOutputPageParserOutput",
"SidebarBeforeOutput": "KnowledgeGraph::onSidebarBeforeOutput"
},
"ResourceModules":{
"ext.KnowledgeGraph":{
"localBasePath":"resources",
"remoteExtPath":"KnowledgeGraph/resources",
"styles":[
"KnowledgeGraph.css"
],
"scripts":[
"visNetwork/vis-network.min.js",
"KnowledgeGraph.js"
],
"dependencies": [
"mediawiki.util",
"mediawiki.base",
"mediawiki.cookie",
"oojs-ui-core",
"oojs-ui-widgets",
"oojs-ui-toolbars",
"oojs-ui-windows",
"mediawiki.widgets",
"mediawiki.widgets.TitlesMultiselectWidget",
"mediawiki.widgets.CategoryMultiselectWidget",
"oojs-ui.styles.icons-moderation",
"oojs-ui.styles.icons-content",
"oojs-ui.styles.icons-editing-core",
"oojs-ui.styles.icons-interactions",
"oojs-ui.styles.icons-accessibility"
],
"position":"top",
"messages": [
"knowledgegraph-toolbar-info",
"knowledgegraph-toolbar-help",
"knowledgegraph-graph-options-message",
"knowledgegraph-menu-open-article",
"knowledgegraph-menu-delete-node",
"knowledgegraph-delete-node-confirm",
"knowledgegraph-dialog-continue",
"knowledgegraph-dialog-back",
"knowledgegraph-dialog-done",
"knowledgegraph-dialog-cancel",
"knowledgegraph-dialog-delete",
"knowledgegraph-dialog-select-article",
"knowledgegraph-dialog-edit-depth",
"knowledgegraph-dialog-edit-limit",
"knowledgegraph-dialog-edit-offset",
"knowledgegraph-dialog-tabs-by-article",
"knowledgegraph-dialog-select-properties",
"knowledgegraph-dialog-select-categories",
"knowledgegraph-dialog-tabs-by-properties",
"knowledgegraph-dialog-tabs-by-categories",
"knowledgegraph-dialog-results-no-properties",
"knowledgegraph-dialog-results-no-articles",
"knowledgegraph-dialog-results-existing-node",
"knowledgegraph-dialog-results-has-properties",
"knowledgegraph-dialog-results-importing-nodes",
"knowledgegraph-copied-to-clipboard",
"knowledgegraph-toolbar-reset-network",
"knowledgegraph-toolbar-reset-network-confirm",
"knowledgegraph-toolbar-add-node",
"knowledgegraph-toolbar-toggle-config",
"knowledgegraph-toolbar-export-graph",
"knowledgegraph-credits",
"knowledgegraph-credits-list"
]
}
},
"config": {
"KnowledgeGraphDisableCredits": {
"value": false
},
"KnowledgeGraphShowImages": {
"value": true
},
"KnowledgeGraphShowSidebarLink": {
"value": false
}
}
}