mediawiki-projects-list 4.7.0 → 4.7.2

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 +1 -0
  2. package/package.json +1 -1
  3. package/projects.json +73 -44
package/index.js CHANGED
@@ -248,6 +248,7 @@ function inputToFrontendProxy(input) {
248
248
  function urlToFix(url) {
249
249
  let hostname = url.split('/')[2];
250
250
  if ( functionCache.urlToFix.has(hostname) ) return functionCache.urlToFix.get(hostname);
251
+ /** @type {?((href:String,pagelink:String)=>String)} */
251
252
  let result = null;
252
253
  let frontendProxy = getFrontendProxy(hostname);
253
254
  if ( frontendProxy ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediawiki-projects-list",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
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
@@ -17,6 +17,35 @@
17
17
  "scriptPath": "https://$2.fandom.com/",
18
18
  "note": "Missing language support."
19
19
  },
20
+ {
21
+ "name": "minceraft.wiki",
22
+ "regex": "(((?:[a-z-]{2,12})\\.|)minceraft\\.wiki)(?:/wiki/|/w/|/|$)",
23
+ "namePath": "https://$2minceraft.wiki/",
24
+ "articlePath": "https://$2minceraft.wiki/w/",
25
+ "scriptPath": "https://$2minecraft.wiki/"
26
+ },
27
+ {
28
+ "name": "osrs.wiki",
29
+ "regex": "((?:www\\.)?osrs\\.wiki)(?:/wiki/|/w/|/|$)",
30
+ "namePath": "https://osrs.wiki/",
31
+ "articlePath": "https://osrs.wiki/",
32
+ "scriptPath": "https://oldschool.runescape.wiki/"
33
+ },
34
+ {
35
+ "name": "rs.wiki",
36
+ "regex": "(((?:os|pt|www)\\.|)rs\\.wiki)(?:/wiki/|/w/|/|$)",
37
+ "namePath": "https://$2rs.wiki/",
38
+ "articlePath": "https://$2rs.wiki/",
39
+ "scriptPath": "https://$2runescape.wiki/"
40
+ },
41
+ {
42
+ "name": "tolkien.wiki",
43
+ "regex": "((?:www\\.)?tolkien\\.wiki)/?$",
44
+ "namePath": "https://tolkien.wiki/",
45
+ "articlePath": "https://tolkien.wiki/",
46
+ "scriptPath": "https://tolkiengateway.net/w/",
47
+ "relativeFix": "^/wiki(?=/)"
48
+ },
20
49
  {
21
50
  "name": "wikiless.org",
22
51
  "regex": "(wikiless\\.org/.*?\\?(?:.*?&)?lang=([a-z\\d-]{1,50}))(?:&|/?$)",
@@ -246,6 +275,13 @@
246
275
  ]
247
276
  }
248
277
  },
278
+ {
279
+ "name": "chibi-robo.wiki",
280
+ "regex": "((?:www\\.)?chibi-robo\\.wiki)",
281
+ "articlePath": "/wiki/",
282
+ "scriptPath": "/w/",
283
+ "fullScriptPath": "https://chibi-robo.wiki/w/"
284
+ },
249
285
  {
250
286
  "name": "chocolate-doom.org",
251
287
  "regex": "((?:www\\.)?chocolate-doom\\.org)",
@@ -323,6 +359,13 @@
323
359
  "scriptPath": "/",
324
360
  "fullScriptPath": "https://ddowiki.com/"
325
361
  },
362
+ {
363
+ "name": "deadlockwiki.org",
364
+ "regex": "((?:www\\.)?deadlockwiki\\.org)",
365
+ "articlePath": "/w/",
366
+ "scriptPath": "/mw/",
367
+ "fullScriptPath": "https://deadlockwiki.org/mw/"
368
+ },
326
369
  {
327
370
  "name": "destinypedia.com",
328
371
  "regex": "((?:www\\.)?destinypedia\\.com)",
@@ -782,6 +825,13 @@
782
825
  "scriptPath": "/w/",
783
826
  "fullScriptPath": "https://love2d.org/w/"
784
827
  },
828
+ {
829
+ "name": "maplestorywiki.net",
830
+ "regex": "((?:www\\.)?maplestorywiki\\.net)",
831
+ "articlePath": "/w/",
832
+ "scriptPath": "/",
833
+ "fullScriptPath": "https://www.maplestorywiki.net/"
834
+ },
785
835
  {
786
836
  "name": "marcaargentea.net",
787
837
  "regex": "((?:www\\.)?marcaargentea\\.net)",
@@ -891,20 +941,6 @@
891
941
  "scriptPath": "/w/",
892
942
  "fullScriptPath": "https://miiwiki.org/w/"
893
943
  },
894
- {
895
- "name": "miki.community",
896
- "regex": "((?:en\\.)?miki\\.community)",
897
- "articlePath": "/wiki/",
898
- "scriptPath": "/w/",
899
- "fullScriptPath": "https://en.miki.community/w/"
900
- },
901
- {
902
- "name": "minecove.net",
903
- "regex": "((?:www\\.)?minecove\\.net)",
904
- "articlePath": "/wiki/",
905
- "scriptPath": "/w/",
906
- "fullScriptPath": "https://minecove.net/w/"
907
- },
908
944
  {
909
945
  "name": "minecraft.wiki",
910
946
  "regex": "((?:([a-z-]{2,12})\\.)?minecraft\\.wiki)",
@@ -963,6 +999,13 @@
963
999
  "scriptPath": "/w/",
964
1000
  "fullScriptPath": "https://mutecity.org/w/"
965
1001
  },
1002
+ {
1003
+ "name": "mysterydungeonwiki.com",
1004
+ "regex": "(mysterydungeonwiki\\.com)",
1005
+ "articlePath": "/wiki/",
1006
+ "scriptPath": "/w/",
1007
+ "fullScriptPath": "https://mysterydungeonwiki.com/w/"
1008
+ },
966
1009
  {
967
1010
  "name": "mywikis.eu",
968
1011
  "regex": "(([a-z\\d-]{1,50})\\.mywikis\\.eu)",
@@ -989,13 +1032,6 @@
989
1032
  },
990
1033
  "wikiFarm": "mywikis"
991
1034
  },
992
- {
993
- "name": "newchallenger.net",
994
- "regex": "((?:www\\.)?newchallenger\\.net)",
995
- "articlePath": "/w/index.php?title=",
996
- "scriptPath": "/w/",
997
- "fullScriptPath": "https://newchallenger.net/w/"
998
- },
999
1035
  {
1000
1036
  "name": "niwanetwork.org",
1001
1037
  "regex": "((?:www\\.)?niwanetwork\\.org)",
@@ -1176,13 +1212,6 @@
1176
1212
  "scriptPath": "/",
1177
1213
  "fullScriptPath": "https://psp2i.wiki/"
1178
1214
  },
1179
- {
1180
- "name": "psu-clementine.net",
1181
- "regex": "((?:www\\.)?psu-clementine\\.net)",
1182
- "articlePath": "/wiki/index.php/",
1183
- "scriptPath": "/wiki/",
1184
- "fullScriptPath": "https://psu-clementine.net/wiki/"
1185
- },
1186
1215
  {
1187
1216
  "name": "pzwiki.net",
1188
1217
  "regex": "((?:www\\.)?pzwiki\\.net)",
@@ -1363,13 +1392,6 @@
1363
1392
  "scriptPath": "/w/",
1364
1393
  "fullScriptPath": "https://spongebobwiki.org/w/"
1365
1394
  },
1366
- {
1367
- "name": "spyrowiki.com",
1368
- "regex": "((?:www\\.)?spyrowiki\\.com)",
1369
- "articlePath": "/wiki/",
1370
- "scriptPath": "/w/",
1371
- "fullScriptPath": "https://spyrowiki.com/w/"
1372
- },
1373
1395
  {
1374
1396
  "name": "ssbwiki.com",
1375
1397
  "regex": "((?:(es|www)\\.)?ssbwiki\\.com)",
@@ -1811,8 +1833,8 @@
1811
1833
  "name": "wiki.henkaku.xyz",
1812
1834
  "regex": "(wiki\\.henkaku\\.xyz)",
1813
1835
  "articlePath": "/vita/",
1814
- "scriptPath": "/vita/",
1815
- "fullScriptPath": "https://wiki.henkaku.xyz/vita/"
1836
+ "scriptPath": "/",
1837
+ "fullScriptPath": "https://wiki.henkaku.xyz/"
1816
1838
  },
1817
1839
  {
1818
1840
  "name": "wiki.holdfastgame.com",
@@ -1842,6 +1864,13 @@
1842
1864
  "scriptPath": "/",
1843
1865
  "fullScriptPath": "https://wiki.kynseed.com/"
1844
1866
  },
1867
+ {
1868
+ "name": "wiki.leagueoflegends.com",
1869
+ "regex": "(wiki\\.leagueoflegends\\.com)",
1870
+ "articlePath": "/en-us/",
1871
+ "scriptPath": "/en-us/",
1872
+ "fullScriptPath": "https://wiki.leagueoflegends.com/en-us/"
1873
+ },
1845
1874
  {
1846
1875
  "name": "wiki.london2038.com",
1847
1876
  "regex": "(wiki\\.london2038\\.com)",
@@ -1905,13 +1934,6 @@
1905
1934
  "scriptPath": "/",
1906
1935
  "fullScriptPath": "https://wiki.raregamingdump.ca/"
1907
1936
  },
1908
- {
1909
- "name": "wiki.rinkofhonor.com",
1910
- "regex": "(wiki\\.rinkofhonor\\.com)",
1911
- "articlePath": "/index.php/",
1912
- "scriptPath": "/",
1913
- "fullScriptPath": "https://wiki.rinkofhonor.com/"
1914
- },
1915
1937
  {
1916
1938
  "name": "wiki.seiwanetwork.org",
1917
1939
  "regex": "(wiki\\.seiwanetwork\\.org)",
@@ -1957,6 +1979,13 @@
1957
1979
  "scriptPath": "/",
1958
1980
  "fullScriptPath": "https://wiki.twcenter.net/"
1959
1981
  },
1982
+ {
1983
+ "name": "wiki.vrchat.com",
1984
+ "regex": "(wiki\\.vrchat\\.com)",
1985
+ "articlePath": "/wiki/",
1986
+ "scriptPath": "/",
1987
+ "fullScriptPath": "https://wiki.vrchat.com/"
1988
+ },
1960
1989
  {
1961
1990
  "name": "wiki.xn--rckteqa2e.com",
1962
1991
  "regex": "(wiki\\.xn--rckteqa2e\\.com)",