-
Notifications
You must be signed in to change notification settings - Fork 3
/
extension.json
101 lines (101 loc) · 2.2 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
{
"name": "TrendingMenu",
"version": "2.0.1",
"author": [
"[https://fo-nttax.de Alex Winkler]",
"Richard Stanway",
"Shashank Atreya"
],
"url": "https://liquipedia.net/",
"descriptionmsg": "trendingmenu-desc",
"license-name": "MIT",
"type": "other",
"requires": {
"MediaWiki": ">= 1.39.3"
},
"ExtensionMessagesFiles": {
"WikiListAlias": "i18n/WikiListAlias.php"
},
"MessagesDirs": {
"TrendingMenu": [
"i18n"
]
},
"AutoloadNamespaces": {
"Liquipedia\\Extension\\TrendingMenu\\": "src/"
},
"SpecialPages": {
"WikiList": "\\Liquipedia\\Extension\\TrendingMenu\\SpecialPage\\SpecialWikiList",
"ModifyWikiList": "\\Liquipedia\\Extension\\TrendingMenu\\SpecialPage\\SpecialModifyWikiList"
},
"APIModules": {
"trendingmenu": "\\Liquipedia\\Extension\\TrendingMenu\\Api\\TrendingPages",
"wikilist": "\\Liquipedia\\Extension\\TrendingMenu\\Api\\WikiList",
"updatewikilist": "\\Liquipedia\\Extension\\TrendingMenu\\Api\\UpdateWikiList"
},
"RestRoutes": [
{
"path": "/trendingmenu/v1/trendingpages",
"method": "GET",
"class": "\\Liquipedia\\Extension\\TrendingMenu\\Rest\\TrendingPages",
"services": [
"MainConfig",
"DBLoadBalancerFactory"
]
}
],
"AvailableRights": [
"edit-wikilist"
],
"GroupPermissions": {
"sysop": {
"edit-wikilist": true
}
},
"HookHandlers": {
"Main": {
"class": "\\Liquipedia\\Extension\\TrendingMenu\\Hooks\\MainHookHandler",
"services": [
"MainConfig"
]
},
"Schema": {
"class": "\\Liquipedia\\Extension\\TrendingMenu\\Hooks\\SchemaHookHandler"
}
},
"Hooks": {
"ApiCheckCanExecute": "Main",
"BeforePageDisplay": "Main",
"LoadExtensionSchemaUpdates": "Schema"
},
"ResourceModules": {
"ext.trendingmenu": {
"scripts": [
"resources/scripts/trendingmenu.js"
],
"position": "bottom",
"dependencies": [
"mediawiki.util"
]
},
"ext.WikiList.drag": {
"scripts": [
"resources/scripts/wikilistdragsort.js"
],
"position": "bottom",
"dependencies": [
"jquery.ui"
]
},
"ext.WikiList.styles": {
"styles": [
"resources/styles/wikilist.css"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "TrendingMenu"
},
"manifest_version": 2
}