-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
235 lines (235 loc) · 7.44 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
{
"name": "BlueSpicePageTemplates",
"license-name": "GPL-3.0-only",
"version": "4.2.0-alpha",
"url": "https://en.wiki.bluespice.com/wiki/Reference:BlueSpicePageTemplates",
"author": [
"Markus Glaser",
"Stephan Muggli"
],
"descriptionmsg": "bs-pagetemplates-desc",
"type": "bluespice",
"requires": {
"MediaWiki": ">= 1.39.0",
"extensions": {
"BlueSpiceFoundation": ">= 4.3"
}
},
"attributes": {
"BlueSpiceFoundation": {
"Extensions": {
"BlueSpicePageTemplates": {
"className": "\\BlueSpice\\PageTemplates\\Extension",
"extPath": "/BlueSpicePageTemplates"
}
},
"ConfigDefinitionRegistry": {
"PageTemplatesForceNamespace": "\\BlueSpice\\PageTemplates\\ConfigDefinition\\PageTemplatesForceNamespace::getInstance",
"PageTemplatesHideDefaults": "\\BlueSpice\\PageTemplates\\ConfigDefinition\\PageTemplatesHideDefaults::getInstance",
"PageTemplatesHideIfNotInTargetNs": "\\BlueSpice\\PageTemplates\\ConfigDefinition\\PageTemplatesHideIfNotInTargetNs::getInstance"
},
"TagRegistry": {
"pagetemplates": "\\BlueSpice\\PageTemplates\\Tag\\PageTemplates"
},
"AdminToolRegistry": {
"bs-pagetemplates": "BlueSpice\\PageTemplates\\AdminTool"
},
"PermissionRegistry": {
"pagetemplatesadmin-viewspecialpage": {
"type": "global",
"roles": [
"admin",
"maintenanceadmin",
"structuremanager"
]
}
}
},
"MWStakeContentProvisioner": {
"ContentManifests": {
"DefaultContentProvisioner": [
"extensions/BlueSpicePageTemplates/data/Content/PageTemplates/manifest.json"
],
"DefaultPageTemplates": [
"extensions/BlueSpicePageTemplates/data/Content/PageTemplates/manifest.json"
]
},
"ContentProvisioners": {
"DefaultPageTemplates": {
"class": "\\BlueSpice\\PageTemplates\\ContentProvisioner\\PageTemplatesProvisioner",
"args": [
"DefaultPageTemplates"
],
"services": [
"ContentLanguage",
"LanguageFallback",
"TitleFactory",
"DBLoadBalancer"
]
}
}
}
},
"GroupPermissions": {
"*": {
"pagetemplatesadmin-viewspecialpage": false
},
"user": {
"pagetemplatesadmin-viewspecialpage": false
},
"sysop": {
"pagetemplatesadmin-viewspecialpage": true
}
},
"AvailableRights": [
"pagetemplatesadmin-viewspecialpage"
],
"APIModules": {
"bs-pagetemplates-store": "BSApiPageTemplatesStore",
"bs-pagetemplates-tasks": "BSApiPageTemplatesTasks",
"bs-pagetemplate-tags-store": "BSApiPageTemplateTagsStore"
},
"MessagesDirs": {
"PageTemplates": [
"i18n"
]
},
"AutoloadNamespaces": {
"BlueSpice\\PageTemplates\\": "src/"
},
"AutoloadClasses": {
"BSApiPageTemplatesStore": "includes/api/BSApiPageTemplatesStore.php",
"BSApiPageTemplatesTasks": "includes/api/BSApiPageTemplatesTasks.php",
"BSApiPageTemplateTagsStore": "includes/api/BSApiPageTemplateTagsStore.php",
"BSPageTemplateList": "includes/BSPageTemplateList.php",
"BSPageTemplateListRenderer": "includes/BSPageTemplateListRenderer.php",
"BSTransformNSData": "maintenance/BSTransformNSData.php"
},
"TestAutoloadClasses": {
"BSPageTemplateFixtures": "tests/phpunit/utility/BSPageTemplateFixtures.php"
},
"ExtensionMessagesFiles": {
"PageTemplatesAdminAlias": "includes/specials/SpecialPageTemplatesAdmin.alias.php"
},
"config_prefix": "bsg",
"config": {
"PageTemplatesExcludeNs": {
"value": [
-2, -1, 6, 7, 8, 9, 10, 11, 14, 15
]
},
"PageTemplatesForceNamespace": {
"value": false,
"descriptionmsg": "bs-pagetemplates-pref-forcenamespace",
"public": true
},
"PageTemplatesHideIfNotInTargetNs": {
"value": true,
"descriptionmsg": "bs-pagetemplates-pref-hideifnotintargetns",
"public": true
},
"PageTemplatesHideDefaults": {
"value": false,
"descriptionmsg": "bs-pagetemplates-pref-hidedefaults",
"public": true
}
},
"SpecialPages": {
"PageTemplatesAdmin": {
"class": "BlueSpice\\PageTemplates\\Special\\PageTemplatesAdministration"
}
},
"ResourceModules": {
"ext.bluespice.pageTemplates": {
"scripts": [
"ui/dialog/EditTemplate.js",
"ui/dialog/DeleteTemplate.js",
"ui/Panel.js",
"bluespice.pageTemplates.js"
],
"dependencies": [
"ext.oOJSPlus.managerPanel",
"ext.bluespice",
"oojs-ui.styles.icons-user",
"oojs-ui.styles.icons-moderation",
"oojs-ui.styles.icons-editing-core",
"ext.oOJSPlus.data"
],
"messages": [
"bs-pagetemplates-headerlabel",
"bs-pagetemplates-headertargetnamespace",
"bs-pagetemplates-headertags",
"bs-pagetemplates-tipeditdetails",
"bs-pagetemplates-tipdeletetemplate",
"bs-pagetemplates-tipaddtemplate",
"bs-pagetemplates-label-tpl",
"bs-pagetemplates-label-desc",
"bs-pagetemplates-label-tags",
"bs-pagetemplates-placeholder-tags",
"bs-pagetemplates-label-targetns",
"bs-pagetemplates-label-article",
"bs-pagetemplates-confirm-deletetpl",
"bs-pagetemplates-remove-message-unknown",
"bs-pagetemplates-remove-message-success",
"bs-pagetemplates-remove-message-failure"
]
},
"ext.bluespice.pageTemplates.tag": {
"scripts": [
"bluespice.pageTemplates.tag.js",
"TemplateSearch.js"
],
"dependencies": [
"ext.bluespice",
"ext.oOJSPlus.widgets"
],
"messages": [
"bs-pagetemplates-no-matching-results-label",
"bs-pagetemplates-search-template-placeholder"
]
},
"ext.bluespice.pageTemplates.styles": {
"styles": "bluespice.pageTemplates.less",
"class": "\\BlueSpice\\ResourceModule\\LessVars"
},
"ext.bluespice.pageTemplates.standardtemplate.styles": {
"styles": "bluespice.pageTemplates.standardtemplate.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "BlueSpicePageTemplates/resources"
},
"HookHandlers": {
"common-user-interface": {
"class": "\\BlueSpice\\PageTemplates\\HookHandler\\CommonUserInterface"
},
"addPreloadForActions": {
"class": "\\BlueSpice\\PageTemplates\\HookHandler\\AddPreloadForActions"
},
"writeNamespaceConfiguration": {
"class": "\\BlueSpice\\PageTemplates\\Hook\\WriteNamespaceConfiguration"
}
},
"Hooks": {
"BeforePageDisplay": [
"common-user-interface"
],
"BSUEModulePDFBeforeAddingStyleBlocks": "\\BlueSpice\\PageTemplates\\Hook\\BSUEModulePDFBeforeAddingStyleBlocks\\AddStandardTemplatesStyles::callback",
"LoadExtensionSchemaUpdates": [
"\\BlueSpice\\PageTemplates\\Hook\\LoadExtensionSchemaUpdates\\AddPageTemplateTable::callback"
],
"BSUsageTrackerRegisterCollectors": "\\BlueSpice\\PageTemplates\\Hook\\BSUsageTrackerRegisterCollectors\\AddPageTemplatesTag::callback",
"NamespaceManager::getMetaFields": "BlueSpice\\PageTemplates\\Hook\\NamespaceManagerGetMetaFields\\RegisterMetaField::callback",
"BSApiNamespaceStoreMakeData": "BlueSpice\\PageTemplates\\Hook\\BSApiNamespaceStoreMakeData\\AddData::callback",
"NamespaceManager::editNamespace": "BlueSpice\\PageTemplates\\Hook\\NamespaceManagerEditNamespace\\SetPageTemplateValues::callback",
"NamespaceManagerBeforePersistSettings": "writeNamespaceConfiguration",
"HtmlPageLinkRendererBegin": "\\BlueSpice\\PageTemplates\\Extension::onHtmlPageLinkRendererBegin",
"MessagesPreLoad": "\\BlueSpice\\PageTemplates\\Extension::onMessagesPreLoad",
"MediaWikiPerformAction": "\\BlueSpice\\PageTemplates\\Hook\\MediaWikiPerformAction\\PreventEditMode::callback",
"MWStakeCommonUIRegisterSkinSlotComponents": "common-user-interface",
"SkinTemplateNavigation::Universal": "addPreloadForActions"
},
"load_composer_autoloader": true,
"manifest_version": 2
}