forked from nbdd0121/MW-Avatar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
extension.json
executable file
·92 lines (92 loc) · 2.08 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
{
"name": "Avatar",
"author": "Gary Guo, neet, hacri, baskice",
"url": "https://github.com/moegirlwiki/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": "Avatar\\Hooks::onGetPreferences",
"BaseTemplateToolbox": "Avatar\\Hooks::onBaseTemplateToolbox",
"SkinTemplateOutputPageBeforeExec": "Avatar\\Hooks::onSkinTemplateOutputPageBeforeExec"
},
"ExtensionFunctions": [
"Avatar\\Hooks::onSetup"
],
"ResourceModules": {
"ext.avatar.upload": {
"dependencies": [
"mediawiki.user"
],
"scripts":[
"assets/upload.js"
],
"styles":[
"assets/upload.css"
],
"messages": [
"avatar-invalid",
"avatar-toosmall",
"uploadavatar-nofile",
"uploadavatar-hint"
]
}
},
"AutoloadClasses": {
"Avatar\\Hooks": "Hooks.php",
"Avatar\\Avatars": "Avatar_body.php",
"Avatar\\Thumbnail": "Thumbnail.php",
"Avatar\\SpecialUpload": "SpecialUpload.php",
"Avatar\\SpecialView": "SpecialView.php",
"Avatar\\UploadLogFormatter": "includes/UploadLogFormatter.php"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "Avatar"
},
"SpecialPages": {
"UploadAvatar": "Avatar\\SpecialUpload",
"ViewAvatar": "Avatar\\SpecialView"
},
"AvailableRights": [
"avatarupload",
"avataradmin"
],
"GroupPermissions": {
"user": {
"avatarupload": true
},
"sysop": {
"avataradmin": true
}
},
"LogTypes": [
"avatar"
],
"LogActionsHandlers": {
"avatar/upload": "Avatar\\UploadLogFormatter",
"avatar/delete": "LogFormatter"
},
"config": {
"DefaultAvatar": "http://www.gravatar.com/avatar/00000000000000000000000000000000?d=mm&f=y",
"MaxAvatarResolution": 256,
"AllowedAvatarRes": [64, 128],
"DefaultAvatarRes": 128,
"UseAvatar": true,
"VersionAvatar": false,
"AvatarServingMethod": "redirect",
"AvatarLogInRC": true,
"AvatarUploadPath": false,
"AvatarUploadDirectory": false
},
"manifest_version": 1
}