mediawiki-projects-list 4.1.0 → 4.2.0
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 +19 -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"
|
|
@@ -1838,7 +1838,7 @@
|
|
|
1838
1838
|
},
|
|
1839
1839
|
{
|
|
1840
1840
|
"name": "wikiapiary.com",
|
|
1841
|
-
"regex": "((?:www\\.)?wikiapiary\\.com",
|
|
1841
|
+
"regex": "((?:www\\.)?wikiapiary\\.com)",
|
|
1842
1842
|
"articlePath": "/wiki/",
|
|
1843
1843
|
"scriptPath": "/w/",
|
|
1844
1844
|
"fullScriptPath": "https://wikiapiary.com/w/"
|
|
@@ -1903,6 +1903,23 @@
|
|
|
1903
1903
|
"scriptPath": "/",
|
|
1904
1904
|
"fullScriptPath": "https://wikidragonquest.fr/"
|
|
1905
1905
|
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "wikiforge.net",
|
|
1908
|
+
"regex": "(([a-z\\d-]{1,50})\\.wikiforge\\.net)",
|
|
1909
|
+
"articlePath": "/wiki/",
|
|
1910
|
+
"scriptPath": "/w/",
|
|
1911
|
+
"idString": {
|
|
1912
|
+
"regex": "([a-z\\d-]{1,50})",
|
|
1913
|
+
"scriptPaths": [
|
|
1914
|
+
"https://$1.wikiforge.net/w/"
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"wikiFarm": "wikiforge",
|
|
1918
|
+
"extensions": [
|
|
1919
|
+
"CentralAuth",
|
|
1920
|
+
"OAuth"
|
|
1921
|
+
]
|
|
1922
|
+
},
|
|
1906
1923
|
{
|
|
1907
1924
|
"name": "wikihow.com",
|
|
1908
1925
|
"regex": "((?:www\\.)?wikihow\\.com)",
|