4.7.0 • Published 25 days ago
mediawiki-projects-list v4.7.0
List of MediaWiki projects
{
"name": "wikipedia.org",
"regex": "((?:([a-z\\d-]{1,50})\\.)?(?:m\\.)?wikipedia\\.org)",
"articlePath": "/wiki/",
"scriptPath": "/w/",
"wikiFarm": "wikimedia",
"extensions": [
"CentralAuth"
]
}
How to check if a URL matches a wiki project
name
- The hostname of the URL should match thename
.regex
- Match the URL against the regex$1
- Hostname and path betweenhttps://
andarticlePath
orscriptPath
$n
- If the hostname contains multiple wikis, additional groups are used to uniquely identify them
articlePath
- Article path of the project ishttps://
+$1
+articlePath
scriptPath
- Script path of the project ishttps://
+$1
+scriptPath
regexPaths
- If true,articlePath
andscriptPath
include group matches ofregex
wikiFarm
- Name of the wiki farm the project belongs to (wikimedia
,fandom
,miraheze
,wiki.gg
)extensions
- List of extensions providing useful API endpoints (CentralAuth
,Cargo
)urlSpaceReplacement
- Replacement for spaces in page names (default:_
; wikihow.com:-
)note
- Usage notes for the API of a specific project
4.6.12
25 days ago
4.7.0
25 days ago
4.6.11
2 months ago
4.6.10
2 months ago
4.6.9
5 months ago
4.6.7
8 months ago
4.6.6
8 months ago
4.6.8
6 months ago
4.4.0
11 months ago
4.6.1
9 months ago
4.6.0
9 months ago
4.6.2
9 months ago
4.6.5
9 months ago
4.6.4
9 months ago
4.5.0
11 months ago
4.3.1
11 months ago
4.5.1
9 months ago
4.2.1
12 months ago
4.2.0
1 year ago
4.1.1
1 year ago
2.3.6
1 year ago
3.0.1
1 year ago
2.3.7
1 year ago
3.0.0
1 year ago
4.1.0
1 year ago
4.0.1
1 year ago
4.0.0
1 year ago
1.3.0
2 years ago
2.3.0
2 years ago
2.2.0
2 years ago
2.3.2
2 years ago
2.3.1
2 years ago
2.3.4
2 years ago
2.3.3
2 years ago
2.3.5
1 year ago
2.1.0
2 years ago
2.0.0
2 years ago
1.2.9
2 years ago
1.2.10
2 years ago
1.2.8
2 years ago
1.2.7
2 years ago
1.2.6
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago