-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathextension.json
More file actions
237 lines (237 loc) · 7.03 KB
/
extension.json
File metadata and controls
237 lines (237 loc) · 7.03 KB
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
{
"name": "ParserMigration",
"author": [
"Tim Starling",
"C. Scott Ananian",
"..."
],
"version": "2.0.0",
"url": "https://www.mediawiki.org/wiki/Extension:ParserMigration",
"descriptionmsg": "parsermigration-desc",
"license-name": "CC0-1.0",
"manifest_version": 2,
"requires": {
"MediaWiki": ">= 1.46"
},
"config": {
"ParserMigrationEnableQuickSurvey": {
"value": false,
"description": "Whether to enable the quick survey about Parsoid migration"
},
"ParserMigrationEnableQueryString": {
"value": true,
"description": "Whether to enable the ?useparsoid=1 query string for article views"
},
"ParserMigrationEnableParsoidTalkPages": {
"value": true,
"description": "Whether to use Parsoid by default on discussion tools pages"
},
"ParserMigrationEnableParsoidPercentage": {
"value": 100,
"description": "Allows incremental migration to Parsoid by default when this percentage is less than 100."
},
"ParserMigrationEnableParsoidArticlePages": {
"value": true,
"description": "Whether to use Parsoid by default on article pages"
},
"ParserMigrationEnableParsoidMobileArticlePages": {
"value": true,
"description": "Whether to use Parsoid by default on mobile domains, intersecting with the other default configs"
},
"ParserMigrationEnableParsoidMobileTalkPages": {
"value": true,
"description": "Whether to use Parsoid by default on mobile domains for talk pages, intersecting with the other default configs"
},
"ParserMigrationEnableIndicator": {
"value": false,
"description": "Add a Parsoid Read Views indicator"
},
"ParserMigrationEnableUserNotice": {
"value": false,
"description": "Add a user notice"
},
"ParserMigrationEnableReportVisualBug": {
"value": true,
"description": "Add a 'Report visual bug' link to the sidebar"
},
"ParserMigrationEnableReportVisualBugOnlyLoggedIn": {
"value": true,
"description": "Disable 'Report visual bug' for non-logged-in users"
},
"ParserMigrationUserNoticeVersion": {
"value": 1,
"description": "Updated whenever the user notice is modified sufficient to merit redisplay"
},
"ParserMigrationUserNoticeDays": {
"value": 90,
"description": "The number of days before the user notice is reshown after being dismissed"
},
"ParserMigrationCompactIndicator": {
"value": true,
"description": "Use a compact icon as a Parsoid Read Views indicator"
},
"ParserMigrationFeedbackTitle": {
"value": false,
"description": "The title of the page where 'report visual bug' feedback is collected"
},
"ParserMigrationFeedbackTitleURL": {
"value": false,
"description": "The URL of the page where 'report visual bug' feedback is collected, if the ParserMigrationFeedbackTitle is on another wiki"
},
"ParserMigrationFeedbackAPIURL": {
"value": false,
"description": "URL of api.php, if the ParserMigrationFeedbackTitle is on another wiki"
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\ParserMigration\\": "src/"
},
"ServiceWiringFiles": [
"src/ServiceWiring.php"
],
"Actions": {
"parsermigration-edit": "MediaWiki\\Extension\\ParserMigration\\EditAction"
},
"APIModules": {
"parser-migration": {
"class": "MediaWiki\\Extension\\ParserMigration\\ApiParserMigration",
"services": [
"RedirectLookup",
"RevisionLookup"
]
}
},
"MessagesDirs": {
"ParserMigration": [
"i18n",
"i18n/api"
]
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ParserMigration/resources"
},
"ResourceModules": {
"ext.parsermigration.edit": {
"styles": "ext.parsermigration.edit.css"
},
"ext.parsermigration.notice": {
"class": "MediaWiki\\ResourceLoader\\CodexModule",
"codexStyleOnly": true,
"codexComponents": [
"CdxMessage"
],
"styles": "ext.parsermigration.notice.less",
"dependencies": [
"mediawiki.util"
],
"packageFiles": [
"ext.parsermigration.notice.js"
],
"messages": [
"parsermigration-notice-body",
"parsermigration-notice-title"
]
},
"ext.parsermigration.indicator": {
"class": "MediaWiki\\ResourceLoader\\CodexModule",
"styles": "ext.parsermigration.indicator.css",
"codexStyleOnly": true,
"codexComponents": [
"CdxInfoChip"
]
},
"ext.parsermigration.survey": {
"dependencies": [
"mediawiki.user"
],
"styles": [
"ext.parsermigration.survey.less"
],
"packageFiles": [
"ext.parsermigration.survey.js"
]
},
"ext.parsermigration.reportbug.init": {
"styles": "ext.parsermigration.reportbug/init.less",
"dependencies": [
"mediawiki.user"
],
"packageFiles": [
"ext.parsermigration.reportbug/init.js"
]
},
"ext.parsermigration.reportbug.dialog": {
"class": "MediaWiki\\ResourceLoader\\CodexModule",
"dependencies": [
"mediawiki.messagePoster",
"mediawiki.user",
"vue"
],
"packageFiles": [
"ext.parsermigration.reportbug/reportVisualBug.js",
{
"name": "ext.parsermigration.reportbug/icons.json",
"callback": "MediaWiki\\ResourceLoader\\CodexModule::getIcons",
"callbackParam": [
"cdxIconClose"
]
},
"ext.parsermigration.reportbug/ReportVisualBug.vue"
],
"codexComponents": [
"CdxButton",
"CdxDialog",
"CdxField",
"CdxIcon",
"CdxMessage",
"CdxProgressIndicator",
"CdxTextArea"
],
"messages": [
"parsermigration-feedback-error1",
"parsermigration-feedback-error4",
"parsermigration-reportbug-dialog-cancel-button-label",
"parsermigration-reportbug-dialog-complete-message",
"parsermigration-reportbug-dialog-complete-title",
"parsermigration-reportbug-dialog-desc",
"parsermigration-reportbug-dialog-destination",
"parsermigration-reportbug-dialog-done-button-label",
"parsermigration-reportbug-dialog-error-label",
"parsermigration-reportbug-dialog-message-label",
"parsermigration-reportbug-dialog-placeholder",
"parsermigration-reportbug-dialog-progress",
"parsermigration-reportbug-dialog-retry-button-label",
"parsermigration-reportbug-dialog-submit-button-label",
"parsermigration-reportbug-dialog-title",
"parsermigration-reportbug-feedback-title"
]
}
},
"DefaultUserOptions": {
"parsermigration": "0",
"parsermigration-parsoid-readviews": "0"
},
"HookHandlers": {
"ParserMigrationHooks": {
"class": "MediaWiki\\Extension\\ParserMigration\\Hooks",
"services": [
"MainConfig",
"UserOptionsManager",
"ParserMigration.Oracle"
]
}
},
"Hooks": {
"ArticleParserOptions": "ParserMigrationHooks",
"GetPreferences": "ParserMigrationHooks",
"ParserOutputPostCacheTransform": "ParserMigrationHooks",
"ResourceLoaderGetConfigVars": "ParserMigrationHooks",
"SidebarBeforeOutput": "ParserMigrationHooks",
"ListDefinedTags": "ParserMigrationHooks",
"ChangeTagsListActive": "ParserMigrationHooks",
"ChangeTagsAllowedAdd": "ParserMigrationHooks",
"ConfirmEditTriggersCaptcha": "MediaWiki\\Extension\\ParserMigration\\Hooks::onConfirmEditTriggersCaptcha",
"QuickSurveysEnabled": "MediaWiki\\Extension\\ParserMigration\\Hooks::onQuickSurveysEnabled"
}
}