Datatypes › Common › url

Wikipedia article URL

ID wikipedia_url

Pattern of urlNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

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
Uniform Resource Locator (URL) url
Categories
Common, Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
65/100 · missing: source link, mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

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

Python re syntax.

Test a value

Examples

ValueDescription
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 Wikimedia Commons, not Wikipedia
https://de.wikivoyage.org/wiki/Steiermark invalid Wikivoyage, not Wikipedia

Translations

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

Use this record