Enhanced version
Sometimes it is needed to create local links in a wiki and with the current implementation of mw.util.wikiGetlink, the url includes the server name. Consequently, the CSS matched by
div#content a[href ^="https://"] {...}
will add the lock icon[1] on links whose href is defined by the function (for an example, see the above url).
It would be useful to be able to specify whether the link should be local or not. In the attached file there is an example of how this could be done.
[1] https://secure.wikimedia.org/skins-1.17/vector/images/lock-icon.png
Version: 1.18.x
Severity: enhancement
URL: https://secure.wikimedia.org/wikibooks/pt/wiki/Predefini%C3%A7%C3%A3o:Lista_de_cap%C3%ADtulos/Otimiza%C3%A7%C3%A3o
attachment wikiGetlink (enhanced).js ignored as obsolete