Introduce mediawiki.skinning module for external link icons
authorJack Phoenix <jack@countervandalism.net>
Mon, 30 Jun 2014 21:56:02 +0000 (00:56 +0300)
committerLewis Cawte <lewis@lewiscawte.me>
Wed, 27 Aug 2014 21:09:07 +0000 (22:09 +0100)
commit2241e7d26c6555f2d85d0a24e5e160c6946e9e85
treed55264eafd793de00f68b5d460e8ee66f4aa93fa
parent185b81f769f32e59088d3ce7ded63272b95dd062
Introduce mediawiki.skinning module for external link icons

This should facilitate the creation of third-party skins.

Previously third-party skin creators have had to either copy the relevant
lines from Monobook's main.css, which has led to unnecessary code
duplication and bitrot (to a degree), or no support for external link
icons at all.

This change set will hopefully make the main.css file of your average
custom skin about 86 lines shorter, as well as keep the external link code
and icons centralized for proper RTL support and whatnot (which is *not*
a given when it comes to custom, non-core skins!).

HTTPS' custom icon was dropped and HTTPS URLs are now given the standard
external link arrow icon. This is an intentional design decision.

New icons are Isarra's handiwork, kudos!

Bug: 63521
Change-Id: I8ecbc827f2b05aec79401ac4962fcc15387c8ad8
27 files changed:
resources/Resources.php
resources/src/mediawiki.skinning/content.externallinks.css [new file with mode: 0755]
resources/src/mediawiki.skinning/images/audio-ltr.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/audio-ltr.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/audio-rtl.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/audio-rtl.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/chat-ltr.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/chat-ltr.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/chat-rtl.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/chat-rtl.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/document-ltr.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/document-ltr.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/document-rtl.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/document-rtl.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/external link icons.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/external-ltr.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/external-ltr.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/external-rtl.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/external-rtl.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/ftp-ltr.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/ftp-ltr.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/ftp-rtl.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/ftp-rtl.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/mail.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/mail.svg [new file with mode: 0644]
resources/src/mediawiki.skinning/images/video.png [new file with mode: 0644]
resources/src/mediawiki.skinning/images/video.svg [new file with mode: 0644]