This repository has been archived by the owner on Jun 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
extension.json
102 lines (102 loc) · 4.01 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
{
"name": "AchievementBadges",
"version": "0.0.2",
"author": ["Lens"],
"url": "https://github.com/femiwiki/AchievementBadges",
"descriptionmsg": "achievementbadges-desc",
"license-name": "GPL-2.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.35.0",
"extensions": {
"Echo": "*"
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\AchievementBadges\\": "includes/"
},
"ExtensionFunctions": [
"MediaWiki\\Extension\\AchievementBadges\\HookHandler\\Main::initExtension"
],
"Hooks": {
"BeforeCreateEchoEvent": "MediaWiki\\Extension\\AchievementBadges\\HookHandler\\Main::onBeforeCreateEchoEvent",
"BeforeEchoEventInsert": "MediaWiki\\Extension\\AchievementBadges\\HookHandler\\Main::onBeforeEchoEventInsert",
"GetBetaFeaturePreferences": "MediaWiki\\Extension\\AchievementBadges\\HookHandler\\Main::onGetBetaFeaturePreferences",
"BeforeCreateAchievement": "achievement-register",
"LocalUserCreated": "achievement-register",
"PageSaveComplete": "achievement-register",
"SpecialAchievementsBeforeGetEarned": "achievement-register",
"UserSaveSettings": "achievement-register",
"ChangeTagsAfterUpdateTags": "achievement-register"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\AchievementBadges\\HookHandler\\Main",
"services": ["MainConfig"]
},
"achievement-register": {
"class": "MediaWiki\\Extension\\AchievementBadges\\HookHandler\\AchievementRegister",
"services": ["MainConfig", "DBLoadBalancer", "RevisionStore"]
}
},
"SpecialPages": {
"Achievements": "MediaWiki\\Extension\\AchievementBadges\\Special\\SpecialAchievements",
"ShareAchievementBadge": "MediaWiki\\Extension\\AchievementBadges\\Special\\SpecialShareAchievementBadge"
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "AchievementBadges/modules"
},
"ResourceModules": {
"ext.achievementbadges.special.achievements.styles": {
"styles": ["styles/spacial-achievements.less"]
},
"ext.achievementbadges.special.shareachievementsbadge.styles": {
"styles": ["styles/spacial-shareachievementsbadge.less"]
}
},
"LogTypes": ["achievementbadges"],
"LogActionsHandlers": {
"achievementbadges/*": "MediaWiki\\Extension\\AchievementBadges\\LogFormatter"
},
"config": {
"AchievementBadgesEnableBetaFeature": {
"value": false,
"description": "Whether to have AchievementBadges available only as a beta feature and only shown to the users who have enabled the beta feature."
},
"AchievementBadgesReplaceEchoThankYouEdit": {
"value": true,
"description": "Whether to suppress edit milestone notifications sent from Echo."
},
"AchievementBadgesAchievementFallbackIcon": {
"value": false,
"description": [
"Path to the fallback icon of achievements. The icon can be different for ltr and rtl languages. icons for specific languages can also specified using the language code.",
"Example: \"{$wgScriptPath}/static/image/achievement-fallback-icon.svg\"",
"Example 2:",
"[ 'ko' => \"$wgScriptPath/static/images/achievement-fallback-icon-ko.png\",",
"'ltr' => \"$wgScriptPath/static/images/achievement-fallback-icon-ltr.png\",",
"'rtl' => \"$wgScriptPath/static/images/achievement-fallback-icon-rtl.png\", ]"
]
},
"AchievementBadgesAchievements": {
"value": {},
"merge_strategy": "array_plus_2d",
"description": "Contains a key-value pair list of achievements. The thresholds should not be changed."
},
"AchievementBadgesDisabledAchievements": {
"value": [],
"description": "Keys of achievements should be excluded."
}
},
"MessagesDirs": {
"AchievementBadges": ["i18n"]
},
"ExtensionMessagesFiles": {
"AchievementBadgesAlias": "AchievementBadges.i18n.alias.php"
},
"TestAutoloadNamespaces": {
"MediaWiki\\Extension\\AchievementBadges\\Tests\\Integration\\": "tests/phpunit/integration/"
},
"manifest_version": 2
}