(bug 1578) Add different icons for external links to audio, video, or PDF in Monobook...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Nov 2006 22:35:18 +0000 (22:35 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Nov 2006 22:35:18 +0000 (22:35 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
skins/monobook/audio.png [new file with mode: 0644]
skins/monobook/document.png [new file with mode: 0644]
skins/monobook/main.css
skins/monobook/video.png [new file with mode: 0644]

index 1e0e7fe..95ca9f8 100644 (file)
@@ -179,6 +179,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6440) Updated indexes to improve backlinking queries (links, templates, images)
 * Switched 'anon-only' block mode to default for IP blocks
 * (bug 3687) Add distinct heading for media files in category display.
+* (bug 1578) Add different icons for external links to audio, video, or PDF in
+  Monobook.
 
 
 == Languages updated ==
index 5157c98..4ec38c7 100644 (file)
@@ -1037,7 +1037,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '26';
+$wgStyleVersion = '27';
 
 # Server-side caching:
 
diff --git a/skins/monobook/audio.png b/skins/monobook/audio.png
new file mode 100644 (file)
index 0000000..1c56bdc
Binary files /dev/null and b/skins/monobook/audio.png differ
diff --git a/skins/monobook/document.png b/skins/monobook/document.png
new file mode 100644 (file)
index 0000000..b48138e
Binary files /dev/null and b/skins/monobook/document.png differ
index 8c065b2..a63508c 100644 (file)
@@ -610,6 +610,31 @@ span.diffchange {
        background: url(discussionitem_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
+#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
+#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
+#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
+#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
+#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
+#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
+.link-audio {
+       background: url("audio.png") center right no-repeat;
+       padding-right: 13px;
+}
+#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
+#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
+#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
+#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
+#bodyContent a.external[href $=".swf"], #bodyContent a.external[href $=".SWF"],
+.link-video {
+       background: url("video.png") center right no-repeat;
+       padding-right: 13px;
+}
+#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
+.link-document {
+       background: url("document.png") center right no-repeat;
+       padding-right: 12px;
+}
+
 /* disable interwiki styling */
 #bodyContent a.extiw,
 #bodyContent a.extiw:active {
diff --git a/skins/monobook/video.png b/skins/monobook/video.png
new file mode 100644 (file)
index 0000000..38103da
Binary files /dev/null and b/skins/monobook/video.png differ