Last modified: 2014-01-26 07:56:04 UTC
When using action=parse to get HTML of a page, all links are relative, e.g. /wiki/Metallica_(disambiguation) Some people (see e.g. http://stackoverflow.com/q/12346445/41071) seem to want absolute URLs in links instead: http://en.wikipedia.org/wiki/Metallica_(disambiguation) I think it would be useful if there was an option for action=parse to make all links absolute (or, alternatively, protocol-relative).
Avoid protocol-relative links -- these tend to turn into awkward things like "file://" or "ms-appx://" or something when including HTML into an app's webview.
Case use: mirror a wiki page on an applicative intranet. The links to edit works fine, but images won't show. 10 years ago, as a workaround in such situations, there were the possibility to put several base href, before and after the content with the IE and Opera, but now the browsers follow the recommendation and take in consideration only the first href and the first target value encountered.