On Tue, Mar 22, 2011 at 12:05 PM, Joseph Roberts
<roberts.joseph(a)ntlworld.com> wrote:
What is the current concensus on HTML5?
http://www.mediawiki.org/wiki/HTML5
Are we going to fully support it and use as many
features as we can or
are we going to keep just using javascript alterntives?
We're fine with using HTML5 features wherever possible, if $wgHtml5 is
true. Whether we need JavaScript fallback follows from the general
principle of graceful degradation -- if the user experience is still
acceptable without the HTML5 feature being supported, fallback is not
mandatory.
Also, if we are indeed going to use HTML5, are we
going to use XHTML5?
No. XHTML5 is fragile and provides no practical benefits over
well-formed HTML5. Instead, we will continue to serve text/html but
try to keep it well-formed when possible, as we always have.
I would like to work on integrating MediaWiki with
HTML5 if at all
possible, I am just unsure on what parts we wish to use the new
standard.
We're happy to use anything that's useful.
On Tue, Mar 22, 2011 at 12:25 PM, Max Semenik <maxsem.wiki(a)gmail.com> wrote:
As the matter of fact, MediaWiki serves HTML5 by
default. The only
reason why it is still not enabled on Wikipedia is backward
compatibility with numerous screen-scraping scripts/tools. However,
they had their last warning recently - HTML5 was briefly enabled a
couple of times and there's no guarantee that next time it will not
stick :D
The goal is currently to enable HTML5 on Wikimedia sites without
breaking screen-scrapers that use XML libraries. (Screen-scrapers
that use regex can drop dead.) I made some fixes a while back and
tagged them to be picked up by Wikimedia, so hopefully the Wikimedia
branch can now try turning on HTML5 mode again. If it still causes
well-formedness errors, I'd really need to know the exact URLs to
figure out what they are.