Page MenuHomePhabricator

Resource 404 - external link icon on Simple Wikipedia
Closed, DuplicatePublic

Description

When creating an external link using the [URL text] wiki markup on Simple Wikipedia, a space is displayed after the link.

Normally this is filled with a blue link icon, however on inspecting the page https://upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif (link) presents a 404

In the below image I have highlighted the link and space

space after link.PNG (32×300 px, 1 KB)

I believe to fix this it will end up being a site request? https://en.wikipedia.org/w/skins/Vector/images/external-link-ltr-icon.png (link) appears to be a suitable replacement

Event Timeline

Actually this could be done in MediaWiki:Common.css?

https://upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif is not the default location, so I guess css is already overriding. I would suggest just removing the offending css and go back to MW default

The offending line is in https://simple.wikimedia.org/wiki/MediaWiki:vector.css (and maybe other skins)

/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
  background: url("//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif") center right no-repeat;
  /* @noflip */
  padding-right: 16px;
}

I'd reccomend just deleting that.