mediawiki-projects-list 1.2.0 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
  3. package/projects.json +550 -407
package/index.js CHANGED
@@ -60,8 +60,8 @@ function inputToWikiProject(input) {
60
60
  let result = null;
61
61
  let wikiProject = wikiProjects.find( wikiProject => input.split('/').slice(0, 3).some( part => part.endsWith( wikiProject.name ) ) );
62
62
  if ( wikiProject ) {
63
- let articlePath = ( wikiProject.regexPaths ? '/' : wikiProject.articlePath );
64
- let scriptPath = ( wikiProject.regexPaths ? '/' : wikiProject.scriptPath );
63
+ let articlePath = ( wikiProject.regexPaths ? '/' : wikiProject.articlePath.split('?')[0] ).replace(/[.*+?^${}()|\[\]\\]/g, '\\$&');
64
+ let scriptPath = ( wikiProject.regexPaths ? '/' : wikiProject.scriptPath ).replace(/[.*+?^${}()|\[\]\\]/g, '\\$&');
65
65
  let regex = input.match( new RegExp( wikiProject.regex + `(?:${articlePath}|${scriptPath}|/?$)` ) );
66
66
  if ( regex ) {
67
67
  if ( wikiProject.regexPaths ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediawiki-projects-list",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "type": "commonjs",
5
5
  "description": "List of MediaWiki projects for use in discord-wiki-bot",
6
6
  "main": "index.js",
package/projects.json CHANGED
@@ -15,6 +15,20 @@
15
15
  },
16
16
  "wikiFarm": "fandom"
17
17
  },
18
+ {
19
+ "name": "wiki.gg",
20
+ "regex": "(([a-z\\d-]{1,50})\\.wiki\\.gg(?:/(?!wiki)([a-z-]{2,12}))?)",
21
+ "articlePath": "/wiki/",
22
+ "scriptPath": "/",
23
+ "idString": {
24
+ "regex": "((?:[a-z-]{2,12}\\.)?[a-z\\d-]{1,50})",
25
+ "scriptPaths": [
26
+ "https://$1.wiki.gg/",
27
+ "https://$2.wiki.gg/$1/"
28
+ ]
29
+ },
30
+ "wikiFarm": "wiki.gg"
31
+ },
18
32
  {
19
33
  "name": "wikipedia.org",
20
34
  "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?wikipedia\\.org)",
@@ -23,7 +37,429 @@
23
37
  "idString": {
24
38
  "regex": "([a-z\\d-]{1,50})",
25
39
  "scriptPaths": [
26
- "https://$1.wikipedia.org/w/"
40
+ "https://$1.wikipedia.org/w/"
41
+ ]
42
+ },
43
+ "wikiFarm": "wikimedia",
44
+ "extensions": [
45
+ "CentralAuth",
46
+ "OAuth"
47
+ ]
48
+ },
49
+ {
50
+ "name": "pluralpedia.org",
51
+ "regex": "((?:www\\.)?pluralpedia\\.org)",
52
+ "articlePath": "/w/",
53
+ "scriptPath": "/",
54
+ "fullScriptPath": "https://pluralpedia.org/"
55
+ },
56
+ {
57
+ "name": "lgbtqia.wiki",
58
+ "regex": "((?:www\\.)?lgbtqia\\.wiki)",
59
+ "articlePath": "/wiki/",
60
+ "scriptPath": "/w/",
61
+ "fullScriptPath": "https://www.lgbtqia.wiki/w/",
62
+ "wikiFarm": "miraheze",
63
+ "extensions": [
64
+ "CentralAuth",
65
+ "OAuth"
66
+ ]
67
+ },
68
+ {
69
+ "name": "dragon-mania-legends.wiki",
70
+ "regex": "((?:www\\.)?dragon-mania-legends\\.wiki)",
71
+ "articlePath": "/",
72
+ "scriptPath": "/",
73
+ "fullScriptPath": "https://www.dragon-mania-legends.wiki/"
74
+ },
75
+ {
76
+ "name": "toweroffantasy.wiki",
77
+ "regex": "((?:www\\.)?toweroffantasy\\.wiki)",
78
+ "articlePath": "/w/",
79
+ "scriptPath": "/",
80
+ "fullScriptPath": "https://toweroffantasy.wiki/"
81
+ },
82
+ {
83
+ "name": "dwarffortresswiki.org",
84
+ "regex": "((?:www\\.)?dwarffortresswiki\\.org)",
85
+ "articlePath": "/index.php/",
86
+ "scriptPath": "/",
87
+ "fullScriptPath": "https://dwarffortresswiki.org/"
88
+ },
89
+ {
90
+ "name": "micronations.wiki",
91
+ "regex": "((?:([a-z-]{2,12})\\.)?micronations\\.wiki)",
92
+ "articlePath": "/wiki/",
93
+ "scriptPath": "/",
94
+ "idString": {
95
+ "regex": "([a-z-]{2,12})",
96
+ "scriptPaths": [
97
+ "https://$1.micronations.wiki/"
98
+ ]
99
+ }
100
+ },
101
+ {
102
+ "name": "psu-clementine.net",
103
+ "regex": "((?:www\\.)?psu-clementine\\.net)",
104
+ "articlePath": "/wiki/index.php/",
105
+ "scriptPath": "/wiki/",
106
+ "fullScriptPath": "https://psu-clementine.net/wiki/"
107
+ },
108
+ {
109
+ "name": "miragerealms.co.uk",
110
+ "regex": "((?:www\\.)?miragerealms\\.co\\.uk)",
111
+ "articlePath": "/wiki/index.php/",
112
+ "scriptPath": "/wiki/",
113
+ "fullScriptPath": "https://www.miragerealms.co.uk/wiki/"
114
+ },
115
+ {
116
+ "name": "lostmediawiki.com",
117
+ "regex": "((?:www\\.)?lostmediawiki\\.com)",
118
+ "articlePath": "/",
119
+ "scriptPath": "/",
120
+ "fullScriptPath": "https://lostmediawiki.com/"
121
+ },
122
+ {
123
+ "name": "starcitizen.tools",
124
+ "regex": "((?:www\\.)?starcitizen\\.tools)",
125
+ "articlePath": "/",
126
+ "scriptPath": "/",
127
+ "fullScriptPath": "https://starcitizen.tools/"
128
+ },
129
+ {
130
+ "name": "thecyclefrontier.wiki",
131
+ "regex": "((?:www\\.)?thecyclefrontier\\.wiki)",
132
+ "articlePath": "/wiki/",
133
+ "scriptPath": "/mediawiki/",
134
+ "fullScriptPath": "https://thecyclefrontier.wiki/mediawiki/"
135
+ },
136
+ {
137
+ "name": "paradoxwikis.com",
138
+ "regex": "(([a-z\\d-]{1,50})\\.paradoxwikis\\.com)",
139
+ "articlePath": "/",
140
+ "scriptPath": "/",
141
+ "idString": {
142
+ "regex": "([a-z\\d-]{1,50})",
143
+ "scriptPaths": [
144
+ "https://$1.paradoxwikis.com/"
145
+ ]
146
+ }
147
+ },
148
+ {
149
+ "name": "psp2i.wiki",
150
+ "regex": "((?:www\\.)?psp2i\\.wiki)",
151
+ "articlePath": "/w/",
152
+ "scriptPath": "/",
153
+ "fullScriptPath": "https://psp2i.wiki/"
154
+ },
155
+ {
156
+ "name": "miraheze.org",
157
+ "regex": "(([a-z\\d-]{1,50})\\.miraheze\\.org)",
158
+ "articlePath": "/wiki/",
159
+ "scriptPath": "/w/",
160
+ "idString": {
161
+ "regex": "([a-z\\d-]{1,50})",
162
+ "scriptPaths": [
163
+ "https://$1.miraheze.org/w/"
164
+ ]
165
+ },
166
+ "wikiFarm": "miraheze",
167
+ "extensions": [
168
+ "CentralAuth",
169
+ "OAuth"
170
+ ]
171
+ },
172
+ {
173
+ "name": "wiki.openstreetmap.org",
174
+ "regex": "(wiki\\.openstreetmap\\.org)",
175
+ "articlePath": "/wiki/",
176
+ "scriptPath": "/w/",
177
+ "fullScriptPath": "https://wiki.openstreetmap.org/w/"
178
+ },
179
+ {
180
+ "name": "polandballwiki.com",
181
+ "regex": "((?:([a-z-]{2,12})\\.)?polandballwiki\\.com)",
182
+ "articlePath": "/wiki/",
183
+ "scriptPath": "/w/",
184
+ "idString": {
185
+ "regex": "([a-z-]{2,12})",
186
+ "scriptPaths": [
187
+ "https://$1.polandballwiki.com/w/"
188
+ ]
189
+ },
190
+ "wikiFarm": "miraheze",
191
+ "extensions": [
192
+ "CentralAuth",
193
+ "OAuth"
194
+ ]
195
+ },
196
+ {
197
+ "name": "barotraumagame.com",
198
+ "regex": "((?:www\\.)?barotraumagame\\.com)",
199
+ "articlePath": "/wiki/",
200
+ "scriptPath": "/baro-wiki/",
201
+ "fullScriptPath": "https://barotraumagame.com/baro-wiki/"
202
+ },
203
+ {
204
+ "name": "confrontation.wiki",
205
+ "regex": "((?:www\\.)?confrontation\\.wiki)",
206
+ "articlePath": "/index.php/",
207
+ "scriptPath": "/",
208
+ "fullScriptPath": "https://confrontation.wiki/"
209
+ },
210
+ {
211
+ "name": "wiki.pioneer2.net",
212
+ "regex": "(wiki\\.pioneer2\\.net)",
213
+ "articlePath": "/w/",
214
+ "scriptPath": "/",
215
+ "fullScriptPath": "https://wiki.pioneer2.net/"
216
+ },
217
+ {
218
+ "name": "bakugan.wiki",
219
+ "regex": "((?:www\\.)?bakugan\\.wiki)",
220
+ "articlePath": "/wiki/",
221
+ "scriptPath": "/",
222
+ "fullScriptPath": "https://bakugan.wiki/"
223
+ },
224
+ {
225
+ "name": "flyff-universe-wiki.com",
226
+ "regex": "(flyff-universe-wiki\\.com)",
227
+ "articlePath": "/wiki/",
228
+ "scriptPath": "/",
229
+ "fullScriptPath": "https://flyff-universe-wiki.com/"
230
+ },
231
+ {
232
+ "name": "halopedia.org",
233
+ "regex": "((?:www\\.)?halopedia\\.org)",
234
+ "articlePath": "/",
235
+ "scriptPath": "/",
236
+ "fullScriptPath": "https://www.halopedia.org/"
237
+ },
238
+ {
239
+ "name": "stardewvalleywiki.com",
240
+ "regex": "((?:([a-z-]{2,12})\\.)?stardewvalleywiki\\.com)",
241
+ "articlePath": "/",
242
+ "scriptPath": "/mediawiki/",
243
+ "idString": {
244
+ "regex": "([a-z-]{2,12})",
245
+ "scriptPaths": [
246
+ "https://$1.stardewvalleywiki.com/mediawiki/"
247
+ ]
248
+ }
249
+ },
250
+ {
251
+ "name": "poewiki.net",
252
+ "regex": "((?:www\\.)?poewiki\\.net)",
253
+ "articlePath": "/wiki/",
254
+ "scriptPath": "/w/",
255
+ "fullScriptPath": "https://www.poewiki.net/w/"
256
+ },
257
+ {
258
+ "name": "wiki.melvoridle.com",
259
+ "regex": "(wiki\\.melvoridle\\.com)",
260
+ "articlePath": "/w/",
261
+ "scriptPath": "/",
262
+ "fullScriptPath": "https://wiki.melvoridle.com/"
263
+ },
264
+ {
265
+ "name": "dragdown.wiki",
266
+ "regex": "(dragdown\\.wiki)",
267
+ "articlePath": "/wiki/",
268
+ "scriptPath": "/w/",
269
+ "fullScriptPath": "https://dragdown.wiki/w/",
270
+ "wikiFarm": "miraheze",
271
+ "extensions": [
272
+ "CentralAuth",
273
+ "OAuth"
274
+ ]
275
+ },
276
+ {
277
+ "name": "wikimon.net",
278
+ "regex": "((?:www\\.)?wikimon\\.net)",
279
+ "articlePath": "/",
280
+ "scriptPath": "/",
281
+ "fullScriptPath": "https://wikimon.net/"
282
+ },
283
+ {
284
+ "name": "dubbingpedia.pl",
285
+ "regex": "(dubbingpedia\\.pl)",
286
+ "articlePath": "/wiki/",
287
+ "scriptPath": "/w/",
288
+ "fullScriptPath": "https://dubbingpedia.pl/w/"
289
+ },
290
+ {
291
+ "name": "mediawiki.org",
292
+ "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?mediawiki\\.org)",
293
+ "articlePath": "/wiki/",
294
+ "scriptPath": "/w/",
295
+ "idString": {
296
+ "regex": "([a-z\\d-]{1,50})",
297
+ "scriptPaths": [
298
+ "https://$1.mediawiki.org/w/"
299
+ ]
300
+ },
301
+ "wikiFarm": "wikimedia",
302
+ "extensions": [
303
+ "CentralAuth",
304
+ "OAuth"
305
+ ]
306
+ },
307
+ {
308
+ "name": "bulbagarden.net",
309
+ "regex": "((bulbapedia|archives|bulbanews)\\.bulbagarden\\.net)",
310
+ "articlePath": "/wiki/",
311
+ "scriptPath": "/w/",
312
+ "idString": {
313
+ "regex": "(bulbapedia|archives|bulbanews)",
314
+ "scriptPaths": [
315
+ "https://$1.bulbagarden.net/w/"
316
+ ]
317
+ }
318
+ },
319
+ {
320
+ "name": "nookipedia.com",
321
+ "regex": "((?:www\\.)?nookipedia\\.com)",
322
+ "articlePath": "/wiki/",
323
+ "scriptPath": "/w/",
324
+ "fullScriptPath": "https://nookipedia.com/w/",
325
+ "extensions": [
326
+ "Cargo"
327
+ ]
328
+ },
329
+ {
330
+ "name": "runescape.wiki",
331
+ "regex": "((?:(classic|oldschool|pt|www)\\.)?runescape\\.wiki)",
332
+ "articlePath": "/w/",
333
+ "scriptPath": "/",
334
+ "idString": {
335
+ "regex": "(classic|oldschool|pt|www)",
336
+ "scriptPaths": [
337
+ "https://$1.runescape.wiki/"
338
+ ]
339
+ }
340
+ },
341
+ {
342
+ "name": "fallout-wiki.com",
343
+ "regex": "((?:www\\.)?fallout-wiki\\.com)",
344
+ "articlePath": "/",
345
+ "scriptPath": "/",
346
+ "fullScriptPath": "https://fallout-wiki.com/"
347
+ },
348
+ {
349
+ "name": "ssbwiki.com",
350
+ "regex": "((?:(es|www)\\.)?ssbwiki\\.com)",
351
+ "articlePath": "/",
352
+ "scriptPath": "/",
353
+ "idString": {
354
+ "regex": "(es|www)",
355
+ "scriptPaths": [
356
+ "https://$1.ssbwiki.com/"
357
+ ]
358
+ }
359
+ },
360
+ {
361
+ "name": "betawiki.net",
362
+ "regex": "((?:www\\.)?betawiki\\.net)",
363
+ "articlePath": "/wiki/",
364
+ "scriptPath": "/",
365
+ "fullScriptPath": "https://betawiki.net/"
366
+ },
367
+ {
368
+ "name": "wiki.arcaea.cn",
369
+ "regex": "(wiki\\.arcaea\\.cn)",
370
+ "articlePath": "/",
371
+ "scriptPath": "/",
372
+ "fullScriptPath": "https://wiki.arcaea.cn/"
373
+ },
374
+ {
375
+ "name": "wiktionary.org",
376
+ "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?wiktionary\\.org)",
377
+ "articlePath": "/wiki/",
378
+ "scriptPath": "/w/",
379
+ "idString": {
380
+ "regex": "([a-z\\d-]{1,50})",
381
+ "scriptPaths": [
382
+ "https://$1.wiktionary.org/w/"
383
+ ]
384
+ },
385
+ "wikiFarm": "wikimedia",
386
+ "extensions": [
387
+ "CentralAuth",
388
+ "OAuth"
389
+ ]
390
+ },
391
+ {
392
+ "name": "gbf.wiki",
393
+ "regex": "((?:www\\.)?gbf\\.wiki)",
394
+ "articlePath": "/",
395
+ "scriptPath": "/",
396
+ "fullScriptPath": "https://gbf.wiki/",
397
+ "extensions": [
398
+ "Cargo"
399
+ ]
400
+ },
401
+ {
402
+ "name": "mariowiki.com",
403
+ "regex": "((?:www\\.)?mariowiki\\.com)",
404
+ "articlePath": "/",
405
+ "scriptPath": "/",
406
+ "fullScriptPath": "https://www.mariowiki.com/"
407
+ },
408
+ {
409
+ "name": "jojowiki.com",
410
+ "regex": "((?:www\\.)?jojowiki\\.com)",
411
+ "articlePath": "/",
412
+ "scriptPath": "/",
413
+ "fullScriptPath": "https://jojowiki.com/"
414
+ },
415
+ {
416
+ "name": "femiwiki.com",
417
+ "regex": "((?:www\\.)?femiwiki\\.com)",
418
+ "articlePath": "/w/",
419
+ "scriptPath": "/",
420
+ "fullScriptPath": "https://femiwiki.com/"
421
+ },
422
+ {
423
+ "name": "moegirl.org.cn",
424
+ "regex": "(([a-z-]{2,12})\\.moegirl\\.org\\.cn)",
425
+ "articlePath": "/",
426
+ "scriptPath": "/",
427
+ "idString": {
428
+ "regex": "([a-z-]{2,12})",
429
+ "scriptPaths": [
430
+ "https://$1.moegirl.org.cn/"
431
+ ]
432
+ }
433
+ },
434
+ {
435
+ "name": "bg-wiki.com",
436
+ "regex": "((?:www\\.)?bg-wiki\\.com)",
437
+ "articlePath": "/ffxi/",
438
+ "scriptPath": "/",
439
+ "fullScriptPath": "https://www.bg-wiki.com/"
440
+ },
441
+ {
442
+ "name": "wiki-aventurica.de",
443
+ "regex": "((?:([a-z-]{2,12})\\.)?wiki-aventurica\\.de)",
444
+ "articlePath": "/wiki/",
445
+ "scriptPath": "/$2/",
446
+ "idString": {
447
+ "regex": "([a-z-]{2,12})",
448
+ "scriptPaths": [
449
+ "https://$1.wiki-aventurica.de/$1/"
450
+ ]
451
+ },
452
+ "regexPaths": true
453
+ },
454
+ {
455
+ "name": "wikimedia.org",
456
+ "regex": "(([a-z\\d-]{1,50})\\.(?:m\\.)?wikimedia\\.org)",
457
+ "articlePath": "/wiki/",
458
+ "scriptPath": "/w/",
459
+ "idString": {
460
+ "regex": "([a-z\\d-]{1,50})",
461
+ "scriptPaths": [
462
+ "https://$1.wikimedia.org/w/"
27
463
  ]
28
464
  },
29
465
  "wikiFarm": "wikimedia",
@@ -33,56 +469,110 @@
33
469
  ]
34
470
  },
35
471
  {
36
- "name": "mediawiki.org",
37
- "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?mediawiki\\.org)",
472
+ "name": "pzwiki.net",
473
+ "regex": "((?:www\\.)?pzwiki\\.net)",
38
474
  "articlePath": "/wiki/",
39
475
  "scriptPath": "/w/",
476
+ "fullScriptPath": "https://pzwiki.net/w/"
477
+ },
478
+ {
479
+ "name": "metin2.gameforge.com",
480
+ "regex": "(([a-z]{2})-wiki\\.metin2\\.gameforge\\.com)",
481
+ "articlePath": "/index.php/",
482
+ "scriptPath": "/",
40
483
  "idString": {
41
- "regex": "([a-z\\d-]{1,50})",
484
+ "regex": "([a-z]{2})",
42
485
  "scriptPaths": [
43
- "https://$1.mediawiki.org/w/"
486
+ "https://$1-wiki.metin2.gameforge.com/"
44
487
  ]
45
- },
46
- "wikiFarm": "wikimedia",
47
- "extensions": [
48
- "CentralAuth",
49
- "OAuth"
50
- ]
488
+ }
51
489
  },
52
490
  {
53
- "name": "wikimedia.org",
54
- "regex": "(([a-z\\d-]{1,50})\\.(?:m\\.)?wikimedia\\.org)",
491
+ "name": "librewiki.net",
492
+ "regex": "(librewiki\\.net)",
493
+ "articlePath": "/wiki/",
494
+ "scriptPath": "/",
495
+ "fullScriptPath": "https://librewiki.net/"
496
+ },
497
+ {
498
+ "name": "wikirby.com",
499
+ "regex": "((?:www\\.)?wikirby\\.com)",
55
500
  "articlePath": "/wiki/",
56
501
  "scriptPath": "/w/",
57
- "idString": {
58
- "regex": "([a-z\\d-]{1,50})",
59
- "scriptPaths": [
60
- "https://$1.wikimedia.org/w/"
61
- ]
62
- },
63
- "wikiFarm": "wikimedia",
502
+ "fullScriptPath": "https://wikirby.com/w/"
503
+ },
504
+ {
505
+ "name": "consolegameswiki.com",
506
+ "regex": "((?:ffxiv\\.)?consolegameswiki\\.com)",
507
+ "articlePath": "/wiki/",
508
+ "scriptPath": "/mediawiki/",
509
+ "fullScriptPath": "https://ffxiv.consolegameswiki.com/mediawiki/"
510
+ },
511
+ {
512
+ "name": "dc-multiverse.dcwikis.com",
513
+ "regex": "(dc-multiverse\\.dcwikis\\.com)",
514
+ "articlePath": "/wiki/",
515
+ "scriptPath": "/w/",
516
+ "fullScriptPath": "https://dc-multiverse.dcwikis.com/w/",
517
+ "wikiFarm": "miraheze",
64
518
  "extensions": [
65
519
  "CentralAuth",
66
520
  "OAuth"
67
521
  ]
68
522
  },
69
523
  {
70
- "name": "wiktionary.org",
71
- "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?wiktionary\\.org)",
524
+ "name": "wikihow.com",
525
+ "regex": "((?:www\\.)?wikihow\\.com)",
526
+ "articlePath": "/",
527
+ "scriptPath": "/",
528
+ "fullScriptPath": "https://www.wikihow.com/",
529
+ "urlSpaceReplacement": "-"
530
+ },
531
+ {
532
+ "name": "rationalwiki.org",
533
+ "regex": "((?:www\\.)?(?:(ru)\\.)?rationalwiki\\.org)",
72
534
  "articlePath": "/wiki/",
73
535
  "scriptPath": "/w/",
74
536
  "idString": {
75
- "regex": "([a-z\\d-]{1,50})",
537
+ "regex": "(ru|www)",
76
538
  "scriptPaths": [
77
- "https://$1.wiktionary.org/w/"
539
+ "https://$1.rationalwiki.org/w/"
78
540
  ]
79
- },
80
- "wikiFarm": "wikimedia",
541
+ }
542
+ },
543
+ {
544
+ "name": "wiki.factorio.com",
545
+ "regex": "(wiki\\.factorio\\.com)",
546
+ "articlePath": "/",
547
+ "scriptPath": "/",
548
+ "fullScriptPath": "https://wiki.factorio.com/"
549
+ },
550
+ {
551
+ "name": "khwiki.com",
552
+ "regex": "((?:www\\.)?khwiki\\.com)",
553
+ "articlePath": "/",
554
+ "scriptPath": "/",
555
+ "fullScriptPath": "https://www.khwiki.com/"
556
+ },
557
+ {
558
+ "name": "revi.wiki",
559
+ "regex": "(revi\\.wiki)",
560
+ "articlePath": "/wiki/",
561
+ "scriptPath": "/w/",
562
+ "fullScriptPath": "https://revi.wiki/w/",
563
+ "wikiFarm": "miraheze",
81
564
  "extensions": [
82
565
  "CentralAuth",
83
566
  "OAuth"
84
567
  ]
85
568
  },
569
+ {
570
+ "name": "explainxkcd.com",
571
+ "regex": "((?:www\\.)?explainxkcd\\.com)",
572
+ "articlePath": "/wiki/index.php/",
573
+ "scriptPath": "/wiki/",
574
+ "fullScriptPath": "https://www.explainxkcd.com/wiki/"
575
+ },
86
576
  {
87
577
  "name": "wikibooks.org",
88
578
  "regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?wikibooks\\.org)",
@@ -209,61 +699,6 @@
209
699
  "scriptPath": "/w/",
210
700
  "fullScriptPath": "https://translatewiki.net/w/"
211
701
  },
212
- {
213
- "name": "wiki.gg",
214
- "regex": "(([a-z\\d-]{1,50})\\.wiki\\.gg(?:/(?!wiki)([a-z-]{2,12}))?)",
215
- "articlePath": "/wiki/",
216
- "scriptPath": "/",
217
- "idString": {
218
- "regex": "((?:[a-z-]{2,12}\\.)?[a-z\\d-]{1,50})",
219
- "scriptPaths": [
220
- "https://$1.wiki.gg/",
221
- "https://$2.wiki.gg/$1/"
222
- ]
223
- },
224
- "wikiFarm": "wiki.gg"
225
- },
226
- {
227
- "name": "miraheze.org",
228
- "regex": "(([a-z\\d-]{1,50})\\.miraheze\\.org)",
229
- "articlePath": "/wiki/",
230
- "scriptPath": "/w/",
231
- "idString": {
232
- "regex": "([a-z\\d-]{1,50})",
233
- "scriptPaths": [
234
- "https://$1.miraheze.org/w/"
235
- ]
236
- },
237
- "wikiFarm": "miraheze",
238
- "extensions": [
239
- "CentralAuth",
240
- "OAuth"
241
- ]
242
- },
243
- {
244
- "name": "paradoxwikis.com",
245
- "regex": "(([a-z\\d-]{1,50})\\.paradoxwikis\\.com)",
246
- "articlePath": "/",
247
- "scriptPath": "/",
248
- "idString": {
249
- "regex": "([a-z\\d-]{1,50})",
250
- "scriptPaths": [
251
- "https://$1.paradoxwikis.com/"
252
- ]
253
- }
254
- },
255
- {
256
- "name": "runescape.wiki",
257
- "regex": "((?:(classic|oldschool|pt|www)\\.)?runescape\\.wiki)",
258
- "articlePath": "/w/",
259
- "scriptPath": "/",
260
- "idString": {
261
- "regex": "(classic|oldschool|pt|www)",
262
- "scriptPaths": [
263
- "https://$1.runescape.wiki/"
264
- ]
265
- }
266
- },
267
702
  {
268
703
  "name": "wiki.biligame.com",
269
704
  "regex": "(wiki\\.biligame\\.com/([a-z\\d]{1,50}))",
@@ -278,130 +713,46 @@
278
713
  "wikiFarm": "biligame"
279
714
  },
280
715
  {
281
- "name": "metapedia.org",
282
- "regex": "(([a-z\\d-]{1,50})\\.metapedia\\.org)",
283
- "articlePath": "/wiki/",
284
- "scriptPath": "/m/",
285
- "idString": {
286
- "regex": "([a-z\\d-]{1,50})",
287
- "scriptPaths": [
288
- "https://$1.metapedia.org/m/"
289
- ]
290
- }
291
- },
292
- {
293
- "name": "brickimedia.org",
294
- "regex": "(([a-z\\d-]{1,50})\\.brickimedia\\.org)",
295
- "articlePath": "/wiki/",
296
- "scriptPath": "/w/",
297
- "idString": {
298
- "regex": "([a-z\\d-]{1,50})",
299
- "scriptPaths": [
300
- "https://$1.brickimedia.org/w/"
301
- ]
302
- },
303
- "wikiFarm": "shoutwiki"
304
- },
305
- {
306
- "name": "wiki.openstreetmap.org",
307
- "regex": "(wiki\\.openstreetmap\\.org)",
308
- "articlePath": "/wiki/",
309
- "scriptPath": "/w/",
310
- "fullScriptPath": "https://wiki.openstreetmap.org/w/"
311
- },
312
- {
313
- "name": "pluralpedia.org",
314
- "regex": "((?:www\\.)?pluralpedia\\.org)",
315
- "articlePath": "/w/",
316
- "scriptPath": "/",
317
- "fullScriptPath": "https://pluralpedia.org/"
318
- },
319
- {
320
- "name": "stardewvalleywiki.com",
321
- "regex": "((?:([a-z-]{2,12})\\.)?stardewvalleywiki\\.com)",
322
- "articlePath": "/",
323
- "scriptPath": "/mediawiki/",
324
- "idString": {
325
- "regex": "([a-z-]{2,12})",
326
- "scriptPaths": [
327
- "https://$1.stardewvalleywiki.com/mediawiki/"
328
- ]
329
- }
330
- },
331
- {
332
- "name": "pcgamingwiki.com",
333
- "regex": "((?:www\\.)?pcgamingwiki.com)",
334
- "articlePath": "/wiki/",
335
- "scriptPath": "/w/",
336
- "fullScriptPath": "https://www.pcgamingwiki.com/w/",
337
- "extensions": [
338
- "Cargo"
339
- ]
340
- },
341
- {
342
- "name": "metin2.gameforge.com",
343
- "regex": "(([a-z]{2})-wiki\\.metin2\\.gameforge\\.com)",
344
- "articlePath": "/index.php/",
345
- "scriptPath": "/",
346
- "idString": {
347
- "regex": "([a-z]{2})",
348
- "scriptPaths": [
349
- "https://$1-wiki.metin2.gameforge.com/"
350
- ]
351
- }
352
- },
353
- {
354
- "name": "psu-clementine.net",
355
- "regex": "((?:www\\.)?psu-clementine\\.net)",
356
- "articlePath": "/wiki/index.php/",
357
- "scriptPath": "/wiki/",
358
- "fullScriptPath": "https://psu-clementine.net/wiki/"
359
- },
360
- {
361
- "name": "ddowiki.com",
362
- "regex": "((?:www\\.)?ddowiki\\.com)",
363
- "articlePath": "/page/",
364
- "scriptPath": "/",
365
- "fullScriptPath": "https://ddowiki.com/"
366
- },
367
- {
368
- "name": "bakugan.wiki",
369
- "regex": "((?:www\\.)?bakugan\\.wiki)",
370
- "articlePath": "/wiki/",
371
- "scriptPath": "/",
372
- "fullScriptPath": "https://bakugan.wiki/"
373
- },
374
- {
375
- "name": "wiki.melvoridle.com",
376
- "regex": "(wiki\\.melvoridle\\.com)",
377
- "articlePath": "/w/",
378
- "scriptPath": "/",
379
- "fullScriptPath": "https://wiki.melvoridle.com/"
380
- },
381
- {
382
- "name": "moegirl.org.cn",
383
- "regex": "(([a-z-]{2,12})\\.moegirl\\.org\\.cn)",
384
- "articlePath": "/",
385
- "scriptPath": "/",
716
+ "name": "metapedia.org",
717
+ "regex": "(([a-z\\d-]{1,50})\\.metapedia\\.org)",
718
+ "articlePath": "/wiki/",
719
+ "scriptPath": "/m/",
386
720
  "idString": {
387
- "regex": "([a-z-]{2,12})",
721
+ "regex": "([a-z\\d-]{1,50})",
388
722
  "scriptPaths": [
389
- "https://$1.moegirl.org.cn/"
723
+ "https://$1.metapedia.org/m/"
390
724
  ]
391
725
  }
392
726
  },
393
727
  {
394
- "name": "wiki-aventurica.de",
395
- "regex": "((?:([a-z-]{2,12})\\.)?wiki-aventurica\\.de)",
728
+ "name": "brickimedia.org",
729
+ "regex": "(([a-z\\d-]{1,50})\\.brickimedia\\.org)",
396
730
  "articlePath": "/wiki/",
397
- "scriptPath": "/$2/",
731
+ "scriptPath": "/w/",
398
732
  "idString": {
399
- "regex": "([a-z-]{2,12})",
733
+ "regex": "([a-z\\d-]{1,50})",
400
734
  "scriptPaths": [
401
- "https://$1.wiki-aventurica.de/$1/"
735
+ "https://$1.brickimedia.org/w/"
402
736
  ]
403
737
  },
404
- "regexPaths": true
738
+ "wikiFarm": "shoutwiki"
739
+ },
740
+ {
741
+ "name": "pcgamingwiki.com",
742
+ "regex": "((?:www\\.)?pcgamingwiki.com)",
743
+ "articlePath": "/wiki/",
744
+ "scriptPath": "/w/",
745
+ "fullScriptPath": "https://www.pcgamingwiki.com/w/",
746
+ "extensions": [
747
+ "Cargo"
748
+ ]
749
+ },
750
+ {
751
+ "name": "ddowiki.com",
752
+ "regex": "((?:www\\.)?ddowiki\\.com)",
753
+ "articlePath": "/page/",
754
+ "scriptPath": "/",
755
+ "fullScriptPath": "https://ddowiki.com/"
405
756
  },
406
757
  {
407
758
  "name": "pnpwiki.de",
@@ -417,16 +768,6 @@
417
768
  "scriptPath": "/",
418
769
  "fullScriptPath": "https://www.blaseball.wiki/"
419
770
  },
420
- {
421
- "name": "gbf.wiki",
422
- "regex": "((?:www\\.)?gbf\\.wiki)",
423
- "articlePath": "/",
424
- "scriptPath": "/",
425
- "fullScriptPath": "https://gbf.wiki/",
426
- "extensions": [
427
- "Cargo"
428
- ]
429
- },
430
771
  {
431
772
  "name": "wiki.albiononline.com",
432
773
  "regex": "(wiki\\.albiononline\\.com)",
@@ -444,13 +785,6 @@
444
785
  "Cargo"
445
786
  ]
446
787
  },
447
- {
448
- "name": "consolegameswiki.com",
449
- "regex": "((?:ffxiv\\.)?consolegameswiki\\.com)",
450
- "articlePath": "/wiki/",
451
- "scriptPath": "/mediawiki/",
452
- "fullScriptPath": "https://ffxiv.consolegameswiki.com/mediawiki/"
453
- },
454
788
  {
455
789
  "name": "niwanetwork.org",
456
790
  "regex": "((?:www\\.)?niwanetwork\\.org)",
@@ -465,18 +799,6 @@
465
799
  "scriptPath": "/w/",
466
800
  "fullScriptPath": "https://armswiki.org/w/"
467
801
  },
468
- {
469
- "name": "bulbagarden.net",
470
- "regex": "((bulbapedia|archives|bulbanews)\\.bulbagarden\\.net)",
471
- "articlePath": "/wiki/",
472
- "scriptPath": "/w/",
473
- "idString": {
474
- "regex": "(bulbapedia|archives|bulbanews)",
475
- "scriptPaths": [
476
- "https://$1.bulbagarden.net/w/"
477
- ]
478
- }
479
- },
480
802
  {
481
803
  "name": "pokewiki.de",
482
804
  "regex": "((?:www\\.)?pokewiki\\.de)",
@@ -610,16 +932,6 @@
610
932
  "scriptPath": "/w/",
611
933
  "fullScriptPath": "https://www.metroidwiki.org/w/"
612
934
  },
613
- {
614
- "name": "nookipedia.com",
615
- "regex": "((?:www\\.)?nookipedia\\.com)",
616
- "articlePath": "/wiki/",
617
- "scriptPath": "/w/",
618
- "fullScriptPath": "https://nookipedia.com/w/",
619
- "extensions": [
620
- "Cargo"
621
- ]
622
- },
623
935
  {
624
936
  "name": "pikminwiki.com",
625
937
  "regex": "((?:www\\.)?pikminwiki\\.com)",
@@ -634,18 +946,6 @@
634
946
  "scriptPath": "/w/",
635
947
  "fullScriptPath": "https://pikminfanon.com/w/"
636
948
  },
637
- {
638
- "name": "ssbwiki.com",
639
- "regex": "((?:(es|www)\\.)?ssbwiki\\.com)",
640
- "articlePath": "/",
641
- "scriptPath": "/",
642
- "idString": {
643
- "regex": "(es|www)",
644
- "scriptPaths": [
645
- "https://$1.ssbwiki.com/"
646
- ]
647
- }
648
- },
649
949
  {
650
950
  "name": "starfywiki.org",
651
951
  "regex": "((?:www\\.)?starfywiki\\.org)",
@@ -660,13 +960,6 @@
660
960
  "scriptPath": "/w/",
661
961
  "fullScriptPath": "https://strategywiki.org/w/"
662
962
  },
663
- {
664
- "name": "mariowiki.com",
665
- "regex": "((?:www\\.)?mariowiki\\.com)",
666
- "articlePath": "/",
667
- "scriptPath": "/",
668
- "fullScriptPath": "https://www.mariowiki.com/"
669
- },
670
963
  {
671
964
  "name": "mariowiki.net",
672
965
  "regex": "((?:www\\.)?mariowiki\\.net)",
@@ -707,13 +1000,6 @@
707
1000
  ]
708
1001
  }
709
1002
  },
710
- {
711
- "name": "wikirby.com",
712
- "regex": "((?:www\\.)?wikirby\\.com)",
713
- "articlePath": "/wiki/",
714
- "scriptPath": "/w/",
715
- "fullScriptPath": "https://wikirby.com/w/"
716
- },
717
1003
  {
718
1004
  "name": "xenoserieswiki.org",
719
1005
  "regex": "((?:www\\.)?xenoserieswiki\\.org)",
@@ -735,34 +1021,6 @@
735
1021
  "scriptPath": "/w/",
736
1022
  "fullScriptPath": "https://www.zeldapendium.de/w/"
737
1023
  },
738
- {
739
- "name": "halopedia.org",
740
- "regex": "((?:www\\.)?halopedia\\.org)",
741
- "articlePath": "/",
742
- "scriptPath": "/",
743
- "fullScriptPath": "https://www.halopedia.org/"
744
- },
745
- {
746
- "name": "jojowiki.com",
747
- "regex": "((?:www\\.)?jojowiki\\.com)",
748
- "articlePath": "/",
749
- "scriptPath": "/",
750
- "fullScriptPath": "https://jojowiki.com/"
751
- },
752
- {
753
- "name": "wikimon.net",
754
- "regex": "((?:www\\.)?wikimon\\.net)",
755
- "articlePath": "/",
756
- "scriptPath": "/",
757
- "fullScriptPath": "https://wikimon.net/"
758
- },
759
- {
760
- "name": "khwiki.com",
761
- "regex": "((?:www\\.)?khwiki\\.com)",
762
- "articlePath": "/",
763
- "scriptPath": "/",
764
- "fullScriptPath": "https://www.khwiki.com/"
765
- },
766
1024
  {
767
1025
  "name": "chronowiki.org",
768
1026
  "regex": "((?:www\\.)?chronowiki\\.org)",
@@ -868,47 +1126,6 @@
868
1126
  "scriptPath": "/wiki/",
869
1127
  "fullScriptPath": "https://www.zeldadungeon.net/wiki/"
870
1128
  },
871
- {
872
- "name": "poewiki.net",
873
- "regex": "((?:www\\.)?poewiki\\.net)",
874
- "articlePath": "/wiki/",
875
- "scriptPath": "/w/",
876
- "fullScriptPath": "https://www.poewiki.net/w/"
877
- },
878
- {
879
- "name": "wikihow.com",
880
- "regex": "((?:www\\.)?wikihow\\.com)",
881
- "articlePath": "/",
882
- "scriptPath": "/",
883
- "fullScriptPath": "https://www.wikihow.com/",
884
- "urlSpaceReplacement": "-"
885
- },
886
- {
887
- "name": "librewiki.net",
888
- "regex": "(librewiki\\.net)",
889
- "articlePath": "/wiki/",
890
- "scriptPath": "/",
891
- "fullScriptPath": "https://librewiki.net/"
892
- },
893
- {
894
- "name": "femiwiki.com",
895
- "regex": "((?:www\\.)?femiwiki\\.com)",
896
- "articlePath": "/w/",
897
- "scriptPath": "/",
898
- "fullScriptPath": "https://femiwiki.com/"
899
- },
900
- {
901
- "name": "revi.wiki",
902
- "regex": "(revi\\.wiki)",
903
- "articlePath": "/wiki/",
904
- "scriptPath": "/w/",
905
- "fullScriptPath": "https://revi.wiki/w/",
906
- "wikiFarm": "miraheze",
907
- "extensions": [
908
- "CentralAuth",
909
- "OAuth"
910
- ]
911
- },
912
1129
  {
913
1130
  "name": "lakeus.xyz",
914
1131
  "regex": "(lakeus\\.xyz)",
@@ -919,13 +1136,6 @@
919
1136
  "OAuth"
920
1137
  ]
921
1138
  },
922
- {
923
- "name": "betawiki.net",
924
- "regex": "((?:www\\.)?betawiki\\.net)",
925
- "articlePath": "/wiki/",
926
- "scriptPath": "/",
927
- "fullScriptPath": "https://betawiki.net/"
928
- },
929
1139
  {
930
1140
  "name": "destinypedia.com",
931
1141
  "regex": "((?:www\\.)?destinypedia\\.com)",
@@ -1001,30 +1211,6 @@
1001
1211
  "scriptPath": "/",
1002
1212
  "fullScriptPath": "https://yugipedia.com/"
1003
1213
  },
1004
- {
1005
- "name": "polandballwiki.com",
1006
- "regex": "((?:([a-z-]{2,12})\\.)?polandballwiki\\.com)",
1007
- "articlePath": "/wiki/",
1008
- "scriptPath": "/w/",
1009
- "idString": {
1010
- "regex": "([a-z-]{2,12})",
1011
- "scriptPaths": [
1012
- "https://$1.polandballwiki.com/w/"
1013
- ]
1014
- },
1015
- "wikiFarm": "miraheze",
1016
- "extensions": [
1017
- "CentralAuth",
1018
- "OAuth"
1019
- ]
1020
- },
1021
- {
1022
- "name": "lostmediawiki.com",
1023
- "regex": "((?:www\\.)?lostmediawiki\\.com)",
1024
- "articlePath": "/",
1025
- "scriptPath": "/",
1026
- "fullScriptPath": "https://lostmediawiki.com/"
1027
- },
1028
1214
  {
1029
1215
  "name": "amiibopedia.com",
1030
1216
  "regex": "((?:es\\.)?amiibopedia\\.com)",
@@ -1215,25 +1401,6 @@
1215
1401
  "scriptPath": "/w/",
1216
1402
  "fullScriptPath": "https://switchbrew.org/w/"
1217
1403
  },
1218
- {
1219
- "name": "explainxkcd.com",
1220
- "regex": "((?:www\\.)?explainxkcd\\.com)",
1221
- "articlePath": "/wiki/index.php/",
1222
- "scriptPath": "/wiki/",
1223
- "fullScriptPath": "https://www.explainxkcd.com/wiki/"
1224
- },
1225
- {
1226
- "name": "rationalwiki.org",
1227
- "regex": "((?:www\\.)?(?:(ru)\\.)?rationalwiki\\.org)",
1228
- "articlePath": "/wiki/",
1229
- "scriptPath": "/w/",
1230
- "idString": {
1231
- "regex": "(ru|www)",
1232
- "scriptPaths": [
1233
- "https://$1.rationalwiki.org/w/"
1234
- ]
1235
- }
1236
- },
1237
1404
  {
1238
1405
  "name": "eastwardwiki.com",
1239
1406
  "regex": "((?:([a-z-]{2,12})\\.)?eastwardwiki\\.com)",
@@ -1500,13 +1667,6 @@
1500
1667
  "Cargo"
1501
1668
  ]
1502
1669
  },
1503
- {
1504
- "name": "dragon-mania-legends.wiki",
1505
- "regex": "((?:www\\.)?dragon-mania-legends\\.wiki)",
1506
- "articlePath": "/",
1507
- "scriptPath": "/",
1508
- "fullScriptPath": "https://www.dragon-mania-legends.wiki/"
1509
- },
1510
1670
  {
1511
1671
  "name": "wiki.guildwars.com",
1512
1672
  "regex": "(wiki\\.guildwars\\.com)",
@@ -1555,28 +1715,11 @@
1555
1715
  "fullScriptPath": "https://drawntolife.wiki/w/"
1556
1716
  },
1557
1717
  {
1558
- "name": "dragdown.wiki",
1559
- "regex": "(dragdown\\.wiki)",
1560
- "articlePath": "/wiki/",
1561
- "scriptPath": "/w/",
1562
- "fullScriptPath": "https://dragdown.wiki/w/",
1563
- "wikiFarm": "miraheze",
1564
- "extensions": [
1565
- "CentralAuth",
1566
- "OAuth"
1567
- ]
1568
- },
1569
- {
1570
- "name": "dc-multiverse.dcwikis.com",
1571
- "regex": "(dc-multiverse\\.dcwikis\\.com)",
1572
- "articlePath": "/wiki/",
1573
- "scriptPath": "/w/",
1574
- "fullScriptPath": "https://dc-multiverse.dcwikis.com/w/",
1575
- "wikiFarm": "miraheze",
1576
- "extensions": [
1577
- "CentralAuth",
1578
- "OAuth"
1579
- ]
1718
+ "name": "star-citizen.wiki",
1719
+ "regex": "((?:www\\.)?star-citizen\\.wiki)",
1720
+ "articlePath": "/",
1721
+ "scriptPath": "/",
1722
+ "fullScriptPath": "https://star-citizen.wiki/"
1580
1723
  },
1581
1724
  {
1582
1725
  "name": "liquipedia.net",