MediaWiki talk:Common.js/Archive 17: Difference between revisions

Content deleted Content added
No edit summary
AnomieBOT (talk | contribs)
Line 72:
== border="1" in tables ==
 
Last year we [http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js/edit.js&diff=233046900&oldid=226600579 hacked] the formatting of wikitables to help them appear with borders when rendering in environments without CSS (see [[MediaWiki_talk:Common.css/Archive_5#Wikitable_borders_without_CSS|discussion]]). Now that is coming round to bite us: with the recent wikitech-l thread supporting a move to [[HTML 5]] ([http://lists.wikimedia.org/pipermail/wikitech-l/2009-July/043865.html] and subsequent), we now have a horde of markup on enwiki that is going to become ''invalid'' [http://lists.wikimedia.org/pipermail/wikitech-l/2009-July/043865.html]; see the extensive discussion at {{bugphab|1882920829}}, which WONTFIXed the idea of applying this style more widely.
 
I don't think we should give ourselves the task of removing existing invalid attributes at this stage (things like <samp>cellspacing</samp>, <samp>cellpadding</samp> and even <samp>align</samp> are invalid HTML5); the shift from XHTML-1.0-transitional, which we use at the moment, is going to be very slow and steady, and these attributes will not ''break'' output, they will just cause validation errors. But it would be eminently sensible for us to stop continually making the problem ''worse'', by updating our documentation to encourage the correct formatting, and by reverting the change to [[MediaWiki:Common.js/edit.js]] which means every table added using the edit toolbar is added ''broken''. Thoughts? [[User:Also-Happy-melon|<small style="color:red">(also)</small>]][[User:Happy-melon|<b color="forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b color="darkorange">melon</b>]] 09:19, 24 July 2009 (UTC)