User:SPage (WMF)/ExternalLinks
An external link in Flow (example) appears as
<a title="" rel="mw:ExtLink" href="http://www.mullie.eu"
data-parsoid="{"stx":"url","dsr":[34,54,0,0]}">
Text
An external link here to href="http://www.mullie.eu is translated by Parser/Linker to...
<a title="" rel="nofollow" class="external free" href="http://www.mullie.eu" > Text
An external link in wikitext markup is translated by Parser/Linker to...
<a title="" rel="nofollow" class="external text" ...
- No rel="nofollow" is {[bug|66289}}
- Missing styling of external links is bug 56756
styling different kinds of URL links
editVector no longer gives these special icons universally, but other skins and wikis do. See w:Help:External_link_icons in monobook vs in vector for examples. (Enwiki's Vector still adds icons for pdf and https - I'm not sure where the override is.)
File types
edit- https
- https://www.archive.org/
URL formats
editgetLocalURL / getFullURL()
editgetLocalURL() produces /wiki/index.php
. But you can't put this in a [ ] link, it doesn't work.
- [/wiki/index.php/Special:UserLogin?returnto=Talk%3AMain_Page&returntoquery=debug%3D1%26x%3D log in]
getFullURL() produces //SERVERHOST/wiki/index.php
, which does work in a [ ] link