---
id: "wikipedia_url"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["common", "internet"]
langs: ["common"]
quality: 65
url: "https://registry.apicrafter.io/datatype/wikipedia_url"
---

# Wikipedia article URL (`wikipedia_url`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Address of an article in a language edition of Wikipedia, such as https://en.wikipedia.org/wiki/CERN. The host is the language code followed by wikipedia.org, with m. for the mobile site. The path is usually /wiki/ and the article title; some editions also use a script or language variant such as /zh-hans/ or /sr-el/, and old links use ?title=. Registries such as ROR link organizations to their articles this way. Other Wikimedia sites (Commons, Wikivoyage, Wikidata) are not Wikipedia.

- Pattern of: `url`
- Personal data (PII): no
- Categories: Common (common), Internet (internet)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^https?://[a-z][a-z0-9-]{1,11}\.(?:m\.)?wikipedia\.org/(?:wiki/|w/index\.php\?title=|\?title=|[a-z]{2,3}(?:-[a-z]+)?/)\S+$
```

## Examples

- `https://en.wikipedia.org/wiki/CERN` — Article of CERN, linked from its ROR record
- `http://en.wikipedia.org/wiki/RMIT_University` — Article of RMIT University, linked from its ROR record
- `https://de.wikipedia.org/wiki/Leopoldina-Krankenhaus_Schweinfurt` — Article in the German Wikipedia
- `https://en.wikipedia.org/?title=Museum_Boerhaave` — Old link form with a title parameter
- `https://commons.wikimedia.org/wiki/Category%3AVideos_by_Science_Media_Center_Germany` (invalid example) — Wikimedia Commons, not Wikipedia
- `https://de.wikivoyage.org/wiki/Steiermark` (invalid example) — Wikivoyage, not Wikipedia

## Translations

- ru: URL статьи Википедии: Адрес статьи в одном из языковых разделов Википедии, например https://en.wikipedia.org/wiki/CERN.

## Quality

Score 65/100. Missing: source link, mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/wikipedia_url.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/wikipedia_url.yaml>
