-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
61 lines (61 loc) · 1.6 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
{
"name": "ProtectionIndicator",
"author": [
"Sohom Datta"
],
"version": "0.1",
"url": "https://www.mediawiki.org/wiki/Extension:ProtectionIndicator",
"descriptionmsg": "protectionindicator-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"requires": {
"MediaWiki": ">= 1.39.0"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\ProtectionIndicator\\": "includes/"
},
"config": {
"ShowIconsOnMainPage": {
"description": "Config to show icons on Main Page",
"value": false
},
"ShowLogInPopup": {
"description": "Config to show the latest protection entry in the popup",
"value": true
}
},
"Hooks": {
"ArticleViewHeader": "MediaWiki\\Extension\\ProtectionIndicator\\ProtectionIndicatorHooks::onArticleViewHeader",
"ParserFirstCallInit": "MediaWiki\\Extension\\ProtectionIndicator\\ProtectionIndicatorHooks::onParserFirstCallInit",
"ContentAlterParserOutput": "MediaWiki\\Extension\\ProtectionIndicator\\ProtectionIndicatorHooks::onContentAlterParserOutput"
},
"MessagesDirs": {
"ProtectionIndicator": [
"i18n"
]
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ProtectionIndicator/resources"
},
"ResourceModules": {
"ext.protectionIndicator": {
"dependencies": [
"oojs-ui-core",
"mediawiki.api",
"mediawiki.jqueryMsg"
],
"messages": [],
"styles": [
"ext.protectionIndicator/init.css"
],
"scripts": [
"ext.protectionIndicator/init.js"
]
},
"ext.protectionIndicator.custom": {
"class": "MediaWiki\\Extension\\ProtectionIndicator\\CustomProtectionIndicator"
}
},
"manifest_version": 2
}