| wt_wiki_url_parse {wikitaxa} | R Documentation |
Parse a MediaWiki page url into its component parts (wiki name, wiki type, and page title). Supports both static page urls and their equivalent API calls.
wt_wiki_url_parse(url)
url |
(character) MediaWiki page url. |
a list with elements:
wiki - wiki language
type - wikipedia type
page - page name
Other MediaWiki functions: wt_wiki_page_parse,
wt_wiki_page,
wt_wiki_url_build
wt_wiki_url_parse(url="https://en.wikipedia.org/wiki/Malus_domestica")
wt_wiki_url_parse("https://en.wikipedia.org/w/api.php?page=Malus_domestica")