https://bugzilla.wikimedia.org/show_bug.cgi?id=24500
Danny B. <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Do not output variant |Do not output empty |portlet for languages |portlets |without variants | --- Comment #6 from Danny B. <[email protected]> 2010-07-23 10:12:43 UTC --- (In reply to comment #5) > (In reply to comment #3) > > Please read carefuly. It is not only about empty <ul>. > > > > The entire empty portlet should not be there at all. > > > > Why should e.g. be there "Variant" portlet in languages, which do not use > > variants? Etc. > > > This specific argument make sense: the variant portlet should be safe to drop > for languages without variants. Repurposing bug. Special pages have also empty "Actions" and "Views". Why should user using agent without CSS see things he doesn't need to see at all? Didn't we want to simplify things? Why do we out of sudden return useless things we never used to return? > > Reopening, since this is not about the validity only. (Besides, untill we > > will > > serve HTML5 (and that might take long time, it won't be in few months), it > > still IS invalid.) > As outlined on one of the previous bug, we care more about not breaking > scripts > than we care about such a harmless invalidity: the rule that <ul>s can't be > empty is a stupid one that all browsers I know of ignore (which makes perfect > sense) ands which was dropped in HTML5, probably for these reasons (most of > the > premise of the simplified HTML5 markup is that it exploits tolerances in > existing browsers' HTML parsers, AFAIK) We should care about the validity first. If something isn't valid, it makes more difficult to convert it or its displaying might be rejected. Don't think only about "all browsers you know" - there are not only browsers, there are also random other tools, which rely or depend on validity. Besides, MediaWiki has variable to decide if you want to output HTML5 or XHTML1. That means, even if we will switch to HTML5 by default somewhen in far future, that we still have to take care about XHTML1. We should also care about optimalization - why should user load unnecessary and useless data, which are hidden and won't be used? Not everybody is sitting in USA on optical cable, you know? Lot of people still pay a lot per kB, not small monthly flat fees. The client scripts are the last piece in chain of website design, not the first. We can not build the house from the roof. Fix the scripts then, if they get broken by missing portlet. That is the proper solution. Not messing the HTML. The scripts are supposed to accomodate to HTML not HTML to scripts. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
