Description Usage Arguments Details Value See Also
extracts language and project from a Wikimedia URL
1 | c_project_extractor(urls)
|
urls |
a vector of URLs |
project_extractor
takes Wikimedia URLs and extracts the language and project
(for example, turning "https://en.wikipedia.org"" into "en.wikipedia"). It can handle both current
and historic intermediary domains - zero, mobile, wap - and exclude them consistently.
a vector of language and project names, or "Unknown" if a URL cannot be parsed. In the event that a URL can be parsed but you've been silly enough to pass it a non-Wikimedia URL, it will simply return nonsense.
host_handler
for extracting hostnames generically.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.