Widget talk:Stylesheet

Unused
According to Special:WhatLinksHere/Widget:Stylesheet, not pages use or even mention this widget. Do we really need to keep it? 71.212.10.80 13:39, 8 June 2015 (UTC)
 * It has to be invoked via  parser function; these mentions are not traced. It is invoked, for example, by Module:Sprite, if not more Scribunto modules, in these cases via frame:preprocess or frame:callParserFunction that expand that expression (since just returning it doesn’t work). — Agent NickTheRed37 (talk) 14:07, 8 June 2015 (UTC)
 * What does it do and why isn't it shown in Special:WhatLinksHere? 71.212.10.80 00:13, 9 June 2015 (UTC)


 * Widgets allow additional HTML functions which are normally not available in MediaWiki (usually for security reasons, but a few are just better alternatives exist). In this case, the widget allows style sheets to be added from the mediawiki namespace onto an individual article, without loading that CSS on other articles.
 * As for why it is not shown, I would say that is a bug, but since widgets are usaually only used within templates, it is not too much of an issue. – KnightMiner  t/c 01:09, 9 June 2015 (UTC)