From eddbcab08aa8d576f772136b491220d75876fafa Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 8 Jul 2015 19:56:31 +0100 Subject: [PATCH] UserCSSPrefsModule: Remove redundant inline text-decoration:none css rules By default user option 'underline' is '2' which means no skin override. Once a upon a time, none of the popular MediaWiki skins specified whether links should have underlines, and most browsers default to having an underline on links (when not hovering). As such, there was an exception added for languages where underlines cause text to be unreadable. Nowadays however all modern skins explicitly specify the intended design for links. Neither the default skin (Vector) nor other popular skins I checked have underlines by default. As such, this rule is redundant. If a skin comes along that does specify underlines by default, then these rules should be placed in that skins' stylesheet. Not in the HTML of all pages. Incidentally, this was the last code branch in ResourceLoaderUserCSSPrefsModule that is true by default. Which means from now on this