Talk:Snippets/Horizontal lists

Empty items
User:Edokter, something changed with hlists in the old days the code gave instead of Is there way of bringing the old functionality back? It affects a lot of pages on Commons. --Jarekt (talk) 18:54, 9 November 2015 (UTC)
 * A
 * B
 * C
 * A
 * B
 * C
 * C
 * C
 * Somebody stuck in 2003 recently figured the best way to eliminate empty LI tags was to slap a class on it and the set the display: to none like so...

... which, of course, is superseded by hList's definitions changing LI tags to display: inline and the reason we are getting the "extra dots". What that somebody needs is a divorce from parser/Parsoid love and go with adding the current CSS3 pseudo-tag meant for this kind of stuff instead.
 * I'm sure adding the above to your local .css will rectify the HList issue (and probably a few other list-item related problems too; unless your still using IE8 or lower that is). How to go about getting this across to the stuck-in-their-own-wiki-mentality people is another matter. -- George Orwell III (talk) 00:17, 10 November 2015 (UTC)
 * I've added a fix --Zhuyifei1999 (talk) 11:22, 10 November 2015 (UTC)
 * The problem seems to be fixed on Commons now. Thank you both for looking into it. The problem is related to T49673. Hopefully other people with "stuck-in-their-own-wiki-mentality" will look here for the solutions, the way we did. --Jarekt (talk) 12:56, 10 November 2015 (UTC)
 * Meh... personally I think it is better to fix the HTML of the pages instead of hiding their problem under the carpet... Keeping them visible would help with that.
 * Anyway, the code added to this page is redundant with the one added to MediaWiki itself. Helder 16:11, 10 November 2015 (UTC)


 * Helder I agree that fixing the HTML would be better, but that will need a rewrite of a template that is used on great number of pages. It will happen (see T89598) but we needed short term solution, before someone starts hacking at it or reverting all the resent changes to affected templates. And this fixes it. --Jarekt (talk) 17:03, 10 November 2015 (UTC)
 * @Jarekt: but this just copies code which is already added to MediaWiki, doesn't it? Why do we need to apply the same CSS two times? Helder 12:06, 12 November 2015 (UTC)