forked from nbdd0121/MW-Avatar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
110 lines (110 loc) · 2.35 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
{
"name": "Avatar",
"author": "Gary Guo",
"url": "https://github.com/nbdd0121/MW-Avatar",
"descriptionmsg": "avatar_desc",
"version": "1.2.0",
"license-name": "BSD-2-Clause",
"type": "specialpage",
"ExtensionMessagesFiles": {
"AvatarAlias": "Avatar.alias.php"
},
"MessagesDirs": {
"Avatar": [
"i18n"
]
},
"Hooks": {
"GetPreferences": "MediaWiki\\Extension\\Avatar\\Hooks::onGetPreferences",
"SidebarBeforeOutput": "MediaWiki\\Extension\\Avatar\\Hooks::onSidebarBeforeOutput",
"ParserFirstCallInit": "MediaWiki\\Extension\\Avatar\\Hooks::onParserFirstCallInit"
},
"ExtensionFunctions": [
"MediaWiki\\Extension\\Avatar\\Hooks::onSetup"
],
"ResourceModules": {
"ext.avatar.upload": {
"dependencies": [
"mediawiki.user",
"oojs-ui-core",
"oojs-ui.styles.icons-content"
],
"scripts": [
"assets/upload.js"
],
"styles": [
"assets/upload.css"
],
"messages": [
"avatar-invalid",
"avatar-toosmall",
"uploadavatar-nofile",
"uploadavatar-hint"
],
"targets": [
"mobile",
"desktop"
]
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Avatar\\": "includes/"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Avatar"
},
"SpecialPages": {
"UploadAvatar": {
"class": "MediaWiki\\Extension\\Avatar\\SpecialUpload",
"services": [
"HookContainer"
]
},
"ViewAvatar": "MediaWiki\\Extension\\Avatar\\SpecialView",
"Avatar": {
"class":"MediaWiki\\Extension\\Avatar\\SpecialAvatar",
"services":[
"UserIdentityLookup"
]
}
},
"AvailableRights": [
"avatarupload",
"avataradmin"
],
"GroupPermissions": {
"user": {
"avatarupload": true
},
"sysop": {
"avataradmin": true
}
},
"LogTypes": [
"avatar"
],
"LogActionsHandlers": {
"avatar/upload": "MediaWiki\\Extension\\Avatar\\AvatarUploadLogFormatter",
"avatar/delete": "LogFormatter"
},
"config": {
"DefaultAvatar": "IDENTICON",
"MaxAvatarResolution": 256,
"AllowedAvatarRes": [ 64, 128 ],
"DefaultAvatarRes": 128,
"UseAvatar": true,
"VersionAvatar": false,
"AvatarServingMethod": "redirect",
"AvatarLogInRC": true,
"AvatarUploadPath": false,
"AvatarUploadDirectory": false,
"AvatarFileBackend":false,
"AnonymousAvatar": false
},
"ServiceWiringFiles":[
"includes/ServiceWiring.php"
],
"manifest_version": 1,
"load_composer_autoloader": true
}