mediawiki-projects-list 4.2.1 → 4.3.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 +17 -0
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" | "wikiforge" | "wikimedia") | null;
|
|
29
|
+
wikiFarm: ("biligame" | "fandom" | "huijiwiki" | "miraheze" | "shoutwiki" | "telepedia" | "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"|"wikiforge"|"wikimedia")} wikiFarm - Wiki farm of the project
|
|
18
|
+
* @property {?("biligame"|"fandom"|"huijiwiki"|"miraheze"|"shoutwiki"|"telepedia"|"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
|
@@ -1399,6 +1399,23 @@
|
|
|
1399
1399
|
"scriptPath": "/",
|
|
1400
1400
|
"fullScriptPath": "https://tcrf.net/"
|
|
1401
1401
|
},
|
|
1402
|
+
{
|
|
1403
|
+
"name": "telepedia.net",
|
|
1404
|
+
"regex": "(([a-z\\d-]{1,50})\\.telepedia\\.net)",
|
|
1405
|
+
"articlePath": "/wiki/",
|
|
1406
|
+
"scriptPath": "/",
|
|
1407
|
+
"idString": {
|
|
1408
|
+
"regex": "([a-z\\d-]{1,50})",
|
|
1409
|
+
"scriptPaths": [
|
|
1410
|
+
"https://$1.telepedia.net/"
|
|
1411
|
+
]
|
|
1412
|
+
},
|
|
1413
|
+
"wikiFarm": "telepedia",
|
|
1414
|
+
"extensions": [
|
|
1415
|
+
"CentralAuth",
|
|
1416
|
+
"OAuth"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1402
1419
|
{
|
|
1403
1420
|
"name": "thecyclefrontier.wiki",
|
|
1404
1421
|
"regex": "((?:www\\.)?thecyclefrontier\\.wiki)",
|