Remove WMF deployment hack for .feedlink from mediawiki.legacy.shared
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 16 Aug 2015 14:17:47 +0000 (16:17 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 15 Sep 2015 18:49:40 +0000 (18:49 +0000)
To be merged 30 days after 579ec5dee1cdb08fc6c94121ff5570a501f98e0c is
deployed, and we know for sure that the new mediawiki.feedlink module
is included on all pages that need it.

Bug: T89981
Change-Id: I1e47b626fa937066823f056aec6fbc0205fdb9b6

docs/uidesign/design.html
resources/src/mediawiki.legacy/shared.css
resources/src/mediawiki/mediawiki.feedlink.css

index 51c1b55..6ab57d7 100644 (file)
@@ -2,6 +2,7 @@
 <html lang="en" dir="ltr">
 <head>
        <link rel="stylesheet" href="../../resources/src/mediawiki.legacy/shared.css">
+       <link rel="stylesheet" href="../../resources/src/mediawiki/mediawiki.feedlink.css">
 </head>
 <body style="font-size: small;">
 
index f55d2a8..9045e4c 100644 (file)
@@ -394,21 +394,6 @@ a.new {
        color: #BA0000;
 }
 
-/* feed links */
-/* To be removed before 1.26 release, moved to mediawiki.feedlink module */
-a.feedlink {
-       /* SVG support using a transparent gradient to guarantee cross-browser
-        * compatibility (browsers able to understand gradient syntax support also SVG).
-        * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
-       background-image: url(../mediawiki/images/feed-icon.png);
-       background-image: -webkit-linear-gradient(transparent, transparent), url(../mediawiki/images/feed-icon.svg);
-       background-image: linear-gradient(transparent, transparent), url(../mediawiki/images/feed-icon.svg);
-       background-position: center left;
-       background-repeat: no-repeat;
-       background-size: 12px 12px;
-       padding-left: 16px;
-}
-
 /* Plainlinks - this can be used to switch
  * off special external link styling */
 .plainlinks a.external {
index 1dda2ac..8221f52 100644 (file)
@@ -1,8 +1,6 @@
 /* Styles for links to RSS/Atom feeds in sidebar */
 
-/* Until the copy of this code in mediawiki.legacy.shared is removed, which no longer @embeds the
- * background image, the selector below must be kept more specific. */
-#feedlinks a.feedlink {
+a.feedlink {
        /* SVG support using a transparent gradient to guarantee cross-browser
         * compatibility (browsers able to understand gradient syntax support also SVG).
         * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */