Hi,
Is there a way through the API to list all possible URL that can be used to link to an article ?
For example, a siteinfo request for enwiki[1] gives a few possible URL:
- with server and articlepath, you have URL like http://en.wikipedia.org/wiki/$1 - with server and script, you have URL like http://en.wikipedia.org/w/index.php?title=$1
But, is it possible to get all other possible URL ? For example, the URL for the mobile website: http://en.m.wikipedia.org/...
My goal is to detect external links in articles that could be replaced by an internal link or a interwiki link.
Thanks, Nico
[1] https://en.wikipedia.org/w/api.php?continue=&siprop=general&action=q...
mediawiki-api@lists.wikimedia.org