Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markus-rost/mediawiki-projects-list
List of MediaWiki projects
https://github.com/markus-rost/mediawiki-projects-list
mediawiki
Last synced: 3 months ago
JSON representation
List of MediaWiki projects
- Host: GitHub
- URL: https://github.com/markus-rost/mediawiki-projects-list
- Owner: Markus-Rost
- License: isc
- Created: 2022-06-16T23:14:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-12T22:59:45.000Z (4 months ago)
- Last Synced: 2024-10-26T18:11:33.501Z (3 months ago)
- Topics: mediawiki
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/mediawiki-projects-list
- Size: 149 KB
- Stars: 3
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# List of MediaWiki projects
```json
{
"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 the `name`.
* `regex` - Match the URL against the regex
* `$1` - Hostname and path between `https://` and `articlePath` or `scriptPath`
* `$n` - If the hostname contains multiple wikis, additional groups are used to uniquely identify them
* `articlePath` - Article path of the project is `https://` + `$1` + `articlePath`
* `scriptPath` - Script path of the project is `https://` + `$1` + `scriptPath`
* `regexPaths` - If true, `articlePath` and `scriptPath` include group matches of `regex`
* `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