mediawiki-projects-list 4.1.1 → 4.2.1
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.
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/projects-schema.json +1 -0
- package/projects.json +22 -2
package/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare module 'mediawiki-projects-list' {
|
|
|
26
26
|
/** Whether the paths include matches of the regex */
|
|
27
27
|
regexPaths: boolean;
|
|
28
28
|
/** Wiki farm of the project */
|
|
29
|
-
wikiFarm: ("biligame" | "fandom" | "huijiwiki" | "miraheze" | "shoutwiki" | "wiki.gg" | "wikimedia") | null;
|
|
29
|
+
wikiFarm: ("biligame" | "fandom" | "huijiwiki" | "miraheze" | "shoutwiki" | "wiki.gg" | "wikiforge" | "wikimedia") | null;
|
|
30
30
|
/** List of extensions providing useful API endpoints */
|
|
31
31
|
extensions: ("Cargo" | "CentralAuth" | "OAuth")[];
|
|
32
32
|
/** Replacement for spaces in the article URL */
|
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const PROJECTS = require('./projects.json');
|
|
|
15
15
|
* @property {string} idString.regex - Regex to match the id string
|
|
16
16
|
* @property {string[]} idString.scriptPaths - How to turn the group matches of the id string regex into an URL to the script path, index based on group matches
|
|
17
17
|
* @property {boolean} regexPaths - Whether the paths include matches of the regex
|
|
18
|
-
* @property {?("biligame"|"fandom"|"huijiwiki"|"miraheze"|"shoutwiki"|"wiki.gg"|"wikimedia")} wikiFarm - Wiki farm of the project
|
|
18
|
+
* @property {?("biligame"|"fandom"|"huijiwiki"|"miraheze"|"shoutwiki"|"wiki.gg"|"wikiforge"|"wikimedia")} wikiFarm - Wiki farm of the project
|
|
19
19
|
* @property {("Cargo"|"CentralAuth"|"OAuth")[]} extensions - List of extensions providing useful API endpoints
|
|
20
20
|
* @property {string} urlSpaceReplacement - Replacement for spaces in the article URL
|
|
21
21
|
* @property {?string} note - Note about the specific project
|
package/package.json
CHANGED
package/projects-schema.json
CHANGED
package/projects.json
CHANGED
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"articlePath": "/wiki/",
|
|
322
322
|
"scriptPath": "/w/",
|
|
323
323
|
"fullScriptPath": "https://dcmultiversewiki.com/w/",
|
|
324
|
-
"wikiFarm": "
|
|
324
|
+
"wikiFarm": "wikiforge",
|
|
325
325
|
"extensions": [
|
|
326
326
|
"CentralAuth",
|
|
327
327
|
"OAuth"
|
|
@@ -1656,7 +1656,10 @@
|
|
|
1656
1656
|
"https://$2.wiki.gg/$1/"
|
|
1657
1657
|
]
|
|
1658
1658
|
},
|
|
1659
|
-
"wikiFarm": "wiki.gg"
|
|
1659
|
+
"wikiFarm": "wiki.gg",
|
|
1660
|
+
"extensions": [
|
|
1661
|
+
"OAuth"
|
|
1662
|
+
]
|
|
1660
1663
|
},
|
|
1661
1664
|
{
|
|
1662
1665
|
"name": "wiki.guildwars.com",
|
|
@@ -1903,6 +1906,23 @@
|
|
|
1903
1906
|
"scriptPath": "/",
|
|
1904
1907
|
"fullScriptPath": "https://wikidragonquest.fr/"
|
|
1905
1908
|
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "wikiforge.net",
|
|
1911
|
+
"regex": "(([a-z\\d-]{1,50})\\.wikiforge\\.net)",
|
|
1912
|
+
"articlePath": "/wiki/",
|
|
1913
|
+
"scriptPath": "/w/",
|
|
1914
|
+
"idString": {
|
|
1915
|
+
"regex": "([a-z\\d-]{1,50})",
|
|
1916
|
+
"scriptPaths": [
|
|
1917
|
+
"https://$1.wikiforge.net/w/"
|
|
1918
|
+
]
|
|
1919
|
+
},
|
|
1920
|
+
"wikiFarm": "wikiforge",
|
|
1921
|
+
"extensions": [
|
|
1922
|
+
"CentralAuth",
|
|
1923
|
+
"OAuth"
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1906
1926
|
{
|
|
1907
1927
|
"name": "wikihow.com",
|
|
1908
1928
|
"regex": "((?:www\\.)?wikihow\\.com)",
|