-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
172 lines (172 loc) · 4.89 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"manifest_version": 2,
"name": "UespCustomCode",
"type": "other",
"author": "Daveh, Nephele, RobinHood70",
"version": "1.0",
"url": "//www.uesp.net/wiki/UESPWiki:UespCustomCode",
"descriptionmsg": "sitecustomcode-desc",
"ResourceFileModulePaths": {
"localBasePath": ""
},
"ResourceModules": {
"ext.UespCustomCode.ad": {
"position": "top",
"scripts": [
"modules/uespCurse.js"
],
"styles": [
"modules/uespCurse.css"
],
"remoteBasePath": "/uesp/extensions/UespCustomCode/",
"targets": [
"desktop",
"mobile"
]
},
"ext.UespCustomCode.app.styles": {
"position": "top",
"styles": [
"modules/uespApp.css"
],
"remoteBasePath": "/uesp/extensions/UespCustomCode/",
"targets": [
"mobile"
]
},
"ext.UespCustomCode.app.scripts": {
"position": "top",
"scripts": [
"modules/uespApp.js"
],
"remoteBasePath": "/uesp/extensions/UespCustomCode/",
"targets": [
"mobile"
]
},
"ext.UespCustomCode.analytics": {
"position": "top",
"scripts": [
"modules/uespGoogleAnalytics.js"
],
"remoteBasePath": "/uesp/extensions/UespCustomCode/",
"targets": [
"desktop",
"mobile"
]
}
},
"AvailableRights": [
"allspacepatrol"
],
"ExtensionFunctions": [
"SiteCustomCodeHooks::efSiteCustomCode"
],
"DefaultUserOptions": {
"hideuserspace": 0,
"rcNsTalk": 1,
"sitesearchredirects": 1,
"sitesearchtalk": 1,
"sitesearchtitles": 1,
"usecustomns": 0,
"userspaceanonedit": 0,
"userspacelogs": 0,
"userspaceownedit": 1,
"userspaceownpage": 1,
"userspacetalk": 0,
"userspaceunpatrolled": 0,
"userspacewarning": 0,
"userspacewatchlist": 1
},
"GroupPermissions": {
"userpatroller": {
"patrol": true,
"autopatrol": true,
"skipcaptcha": true
},
"patroller": {
"allspacepatrol": true
},
"sysop": {
"allspacepatrol": true,
"blocktalk": true,
"unrestrictedblock": true
},
"bot": {
"allspacepatrol": true
},
"blockuser": {
"block": true
}
},
"MediaHandlers": {
"image/webp": "UespWebpHandler"
},
"ExtensionMessagesFiles": {
"sitecustomcode": "i18n/SiteCustomCode.i18n.php",
"sitecustomcodeAlias": "i18n/SiteCustomCode.alias.php"
},
"MessagesDirs": {
"SiteCustomCode": [
"i18n"
]
},
"SpecialPages": {
"Randompage": "SpecialRandompageSCC",
"Recentchanges": "SpecialRecentChangesSCC",
"Search": "SpecialSearchSCC",
"Wantedpages": "SpecialWantedPagesPageSCC"
},
"AutoloadClasses": {
"SiteCustomCodeHooks": "includes/SiteCustomCodeHooks.php",
"SiteEnhancedChangesList": "includes/SiteEnhancedChangesList.php",
"SiteMiscFunctions": "includes/SiteMiscFunctions.php",
"SiteOldChangesList": "includes/SiteOldChangesList.php",
"SpecialMobilePreferencesSCC": "includes/SpecialMobilePreferencesSCC.php",
"SpecialPreferencesSCC": "includes/SpecialPreferencesSCC.php",
"SpecialRandompageSCC": "includes/SpecialRandompageSCC.php",
"SpecialRecentChangesSCC": "includes/SpecialRecentchangesSCC.php",
"SpecialSearchSCC": "includes/SpecialSearchSCC.php",
"SpecialWantedPagesPageSCC": "includes/SpecialWantedPagesPageSCC.php",
"UespWebpHandler": "includes/UespWebpHandler.php"
},
"Hooks": {
"BeforeInitialize": "SiteCustomCodeHooks::onUespBeforeInitialize",
"BeforePageDisplay": "SiteCustomCodeHooks::UESP_beforePageDisplay",
"BlockIp": "SiteMiscFunctions::RestrictBlockHook",
"FetchChangesList": "SiteMiscFunctions::fetchChangesList",
"GetDefaultSortkey": "SiteMiscFunctions::onGetDefaultSortkey",
"IsFileCacheable": "SiteMiscFunctions::isFileCacheable",
"MarkPatrolled": "SiteMiscFunctions::markPatrolled",
"MediaWikiPerformAction": "SiteCustomCodeHooks::onUespMediaWikiPerformAction",
"MinervaDiscoveryTools": "SiteCustomCodeHooks::onUespMinervaDiscoveryTools",
"MobileMenu": "SiteCustomCodeHooks::onUespMobileMenu",
"MobilePersonalTools": "SiteCustomCodeHooks::onUespMobilePersonalTools",
"OutputPageBeforeHTML": "SiteCustomCodeHooks::uespMobileAddTopAdDiv",
"OutputPageParserOutput": "SiteMiscFunctions::addCanonicalToHeader",
"ParserBeforeMakeImage": "SiteMiscFunctions::addImageClear",
"ParserPreSaveTransformComplete": "SiteCustomCodeHooks::onPreSaveTransformCheckUploadWizard",
"SanitizerAddHtml": "SiteMiscFunctions::sanitizerAddHtml",
"SanitizerAddWhitelist": "SiteMiscFunctions::sanitizerAddWhitelist",
"SpecialPage_initList": "SiteCustomCodeHooks::efSiteSpecialPageInit",
"TitleSquidURLs": "SiteCustomCodeHooks::onUespTitleSquidURLs",
"UserMailerTransformMessage": "SiteCustomCodeHooks::onUespUserMailerTransformMessage",
"UserToggles": "SiteMiscFunctions::addUserToggles",
"userCan": "SiteMiscFunctions::userCan"
},
"config_prefix": "eg",
"config": {
"RestrictBlockLength": {
"value": 21600,
"path": false,
"description": "Blocking limitations",
"public": true
},
"SiteEnableGoogleAds": {
"value": true,
"path": false,
"description": "Global flag to enable/disable google ads",
"public": false
}
}
}