-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathextension.json
More file actions
86 lines (86 loc) · 1.76 KB
/
extension.json
File metadata and controls
86 lines (86 loc) · 1.76 KB
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
{
"name": "Title Icon",
"version": "6.3.0",
"author": [
"[https://www.mediawiki.org/wiki/User:Cindy.cicalese Cindy Cicalese]"
],
"url": "https://www.mediawiki.org/wiki/Extension:Title_Icon",
"descriptionmsg": "titleicon-desc",
"license-name": "MIT",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.40.0"
},
"MessagesDirs": {
"TitleIcon": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"TitleIconMagic": "i18n/TitleIconMagic.i18n.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\TitleIcon\\": "src/"
},
"Hooks": {
"ParserFirstCallInit": "init",
"BeforePageDisplay": "main",
"ShowSearchHitTitle": "main",
"ParserAfterParse": "main"
},
"HookHandlers": {
"init": {
"class": "MediaWiki\\Extension\\TitleIcon\\InitHookHandler"
},
"main": {
"class": "MediaWiki\\Extension\\TitleIcon\\MainHookHandler",
"services": [
"TitleIcon:IconManager",
"MainConfig",
"LinkRenderer"
]
}
},
"APIPropModules": {
"titleicons": {
"class": "MediaWiki\\Extension\\TitleIcon\\ApiQueryTitleIcons",
"services": [
"TitleIcon:IconManager",
"JsonCodec"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "TitleIcon"
},
"ResourceModules": {
"ext.TitleIcon": {
"scripts": "resources/TitleIcon.js"
}
},
"ServiceWiringFiles": [
"src/ServiceWiring.php"
],
"config": {
"TitleIcon_EnableIconInPageTitle": {
"value": true
},
"TitleIcon_EnableIconInSearchTitle": {
"value": true
},
"TitleIcon_CSSSelector": {
"value": "#firstHeading"
},
"TitleIcon_UseFileNameAsToolTip": {
"value": true
},
"TitleIcon_TitleIconPropertyName": {
"value": "Title Icon"
},
"TitleIcon_HideTitleIconPropertyName": {
"value": "Hide Title Icon"
}
},
"manifest_version": 2
}