-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextension.json
133 lines (133 loc) · 2.62 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
{
"name": "Thumbro",
"version": "0.1.0",
"author": [
"[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]",
"Bryan Tong Minh"
],
"url": "https://www.mediawiki.org/wiki/Extension:Thumbro",
"descriptionmsg": "thumbro-desc",
"license-name": "GPL-2.0-or-later",
"type": "media",
"requires": {
"MediaWiki": ">= 1.39.4"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Thumbro\\": "includes/"
},
"SpecialPages": {
"ThumbroTest": "MediaWiki\\Extension\\Thumbro\\SpecialThumbroTest"
},
"GroupPermissions": {
"sysop": {
"thumbro-test": true
}
},
"AvailableRights": [
"thumbro-test"
],
"MessagesDirs": {
"Thumbro": "i18n"
},
"ExtensionMessagesFiles": {
"ThumbroAlias": "Thumbro.alias.php"
},
"ExtensionFunctions": [
"MediaWiki\\Extension\\Thumbro\\Hooks\\MediaWikiHooks::initThumbro"
],
"Hooks": {
"BitmapHandlerTransform": "main",
"BitmapHandlerCheckImageArea": "main",
"SoftwareInfo": "main"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\Thumbro\\Hooks\\MediaWikiHooks",
"services": [
"ConfigFactory"
]
}
},
"ResourceModules": {
"ext.thumbro": {
"scripts": [
"modules/jquery.ucompare/js/jquery.ucompare.js",
"modules/ext.thumbro/ext.thumbro.js"
],
"styles": [
"modules/jquery.ucompare/css/jquery.ucompare.css",
"modules/ext.thumbro/ext.thumbro.css"
],
"messages": [
"thumbro-show-both",
"thumbro-show-default",
"thumbro-show-vips"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Thumbro"
},
"config": {
"ThumbroEnabled": {
"value": true
},
"ThumbroLibraries" : {
"value": {
"libvips": {
"command": "/usr/bin/vipsthumbnail"
}
}
},
"ThumbroOptions": {
"value": {
"image/gif": {
"enabled": true,
"library": "libvips",
"inputOptions": {
"n": "-1"
}
},
"image/jpeg": {
"enabled": true,
"library": "libvips",
"inputOptions": {},
"outputOptions": {
"strip": "true",
"Q": "80"
}
},
"image/png": {
"enabled": true,
"library": "libvips",
"inputOptions": {},
"outputOptions": {
"strip": "true",
"filter": "VIPS_FOREIGN_PNG_FILTER_ALL"
}
},
"image/webp": {
"enabled": true,
"library": "libvips",
"inputOptions": {},
"outputOptions": {
"strip": "true",
"Q": "90",
"smart_subsample": "true"
}
}
}
},
"ThumbroExposeTestPage": {
"value": false
},
"ThumbroTestExpiry": {
"value": 3600
}
},
"ConfigRegistry": {
"thumbro": "GlobalVarConfig::newInstance"
},
"manifest_version": 2
}