-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathextension.json
162 lines (162 loc) · 3.79 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
{
"name": "Newsletter",
"version": "1.2.1",
"author": [
"Siebrand Mazeland",
"Tina Johnson",
"Tony Thomas"
],
"url": "https://www.mediawiki.org/wiki/Extension:Newsletter",
"descriptionmsg": "newsletter-extension-desc",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.43"
},
"type": "other",
"AvailableRights": [
"newsletter-create",
"newsletter-delete",
"newsletter-manage",
"newsletter-restore"
],
"GroupPermissions": {
"sysop": {
"newsletter-create": true,
"newsletter-delete": true,
"newsletter-manage": true,
"newsletter-restore": true
}
},
"RateLimits": {
"newsletter": {
"user": [
3,
3600
]
},
"newsletter-announce": {
"user": [
2,
1800
]
}
},
"SpecialPages": {
"NewsletterCreate": "MediaWiki\\Extension\\Newsletter\\Specials\\SpecialNewsletterCreate",
"Newsletters": "MediaWiki\\Extension\\Newsletter\\Specials\\SpecialNewsletters",
"Newsletter": "MediaWiki\\Extension\\Newsletter\\Specials\\SpecialNewsletter"
},
"APIModules": {
"newslettersubscribe": "MediaWiki\\Extension\\Newsletter\\Api\\ApiNewsletterSubscribe"
},
"MessagesDirs": {
"Newsletter": [
"i18n",
"i18n/api"
]
},
"LogTypes": [
"newsletter"
],
"LogActionsHandlers": {
"newsletter/*": "MediaWiki\\Extension\\Newsletter\\Logging\\NewsletterLogFormatter"
},
"ActionFilteredLogs": {
"newsletter": {
"issue-added": [
"issue-added"
],
"newsletter-added": [
"newsletter-added"
],
"newsletter-removed": [
"newsletter-removed"
],
"publisher-added": [
"publisher-added"
],
"publisher-removed": [
"publisher-removed"
]
}
},
"ExtensionMessagesFiles": {
"NewsletterAlias": "Newsletter.alias.php",
"NewsletterNamespaces": "Newsletter.namespaces.php"
},
"ContentHandlers": {
"NewsletterContent": "MediaWiki\\Extension\\Newsletter\\Content\\NewsletterContentHandler"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Newsletter\\": "includes/"
},
"DefaultUserOptions": {
"echo-subscriptions-web-newsletter": true,
"echo-subscriptions-email-newsletter": true
},
"ResourceModules": {
"ext.newsletter.newsletters": {
"scripts": "ext.newsletter.newsletters.js",
"dependencies": [
"mediawiki.api",
"oojs-ui"
],
"messages": [
"newsletter-subscribe-button",
"newsletter-unsubscribe-button",
"newsletter-unsubscribing",
"newsletter-subscribing",
"newsletter-subscribe-success",
"newsletter-subscribe-error",
"newsletter-unsubscribe-error",
"newsletter-unsubscribe-success"
]
},
"ext.newsletter.newsletters.styles": {
"styles": "ext.newsletter.newsletters.styles.css"
},
"ext.newsletter.newsletter.styles": {
"styles": "ext.newsletter.newsletter.styles.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "Newsletter/modules"
},
"Hooks": {
"LoadExtensionSchemaUpdates": "schema",
"BeforeCreateEchoEvent": "MediaWiki\\Extension\\Newsletter\\Hooks::onBeforeCreateEchoEvent",
"LoginFormValidErrorMessages": "main",
"UserMergeAccountFields": "MediaWiki\\Extension\\Newsletter\\Hooks::onUserMergeAccountFields",
"CustomEditor": "main",
"ArticleDelete": "main",
"PageUndelete": "main",
"TitleMove": "main",
"ContentModelCanBeUsedOn": "main",
"EditFilterMergedContent": "main",
"SkinTemplateNavigation::Universal": "main",
"getUserPermissionsErrors": "main"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\Newsletter\\Hooks"
},
"schema": {
"class": "MediaWiki\\Extension\\Newsletter\\SchemaHooks"
}
},
"namespaces": [
{
"id": 5500,
"constant": "NS_NEWSLETTER",
"name": "Newsletter",
"defaultcontentmodel": "NewsletterContent"
},
{
"id": 5501,
"constant": "NS_NEWSLETTER_TALK",
"name": "Newsletter_talk"
}
],
"manifest_version": 2
}