Re: [Wikitech-l] Proposal: switch to HTML 5

View: New views
5 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [Wikitech-l] Proposal: switch to HTML 5

by Sergey Chernyshev-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 8, 2009 at 11:15 AM, Sergey
Chernyshev<sergey.chernyshev@...> wrote:
> I'm only considering the projects I was going to work on and can't talk for
> all the things MediaWiki team should have in mind - I was going to add
> support for RDFa (http://www.w3.org/TR/rdfa-syntax/) which currently is W3C
> Recomendation, but only for XHTML and even though HTML profiles (or whatever
> they are called) are in the works they are not ready yet.
>
> Switching to non-recomendation will mean that implementing RDFa in standard
> compliant form will have to be postponed for quite a while.

I'm pretty sure this will be resolved within a matter of months, one
way or another.  Either Ian will cave and support RDFa, or RDFa will
support HTML 5 (at least in a usable draft form) without HTML 5's
explicit agreement, or microdata will gain support as wide as RDFa.
At worst, you can still use MW 1.15 while things are being worked out.
 Or maybe we could provide a switch to allow HTML 5 or XHTML, but I'm
leery of that, since it negates most of the benefits.

I admit that I don't follow RDF and "semantic web" stuff too closely,
so I'm not very qualified to address this objection.  I'm pretty sure
that RDFa support is not an issue for the overwhelming majority of our
users, however.  On the other hand, improved <video> support and
better form handling for a significant percentage of our users are
examples of clear and concrete benefits from HTML 5.

I see your point - video is clearly more popular then RDFa and if you're willing to go off-standard to support it, it's might be a reasonable decision for a site like Wikipedia. Not sure what is the rush for that and why can't it wait till HTML 5 spec becomes a recommendation.

I'm not that familiar with HTML 5 support in modern browsers to state that there are going to be regressions with some other things, but it might be another thing to consider, although Wikipedia might be big enough to be a driving force in such decisions.
 
Is this actually a *practical* problem even for the very small number
of users who want to use RDFa?  I mean, will RDFa really not work with
HTML 5 in practice, or will it work but it's not standardized?

Sorry, can't give you a definitive answer - CCing RDFa list for this.

Guys, will be happy if you provide where RDFa support stands here.

> As for commotion I mentioned, I believe there is at least tension between
> RDFa world and "Microdata" world that is being pushed along HTML 5 spec.

Yes, there definitely is tension there!  Just not between HTML 5 and
XHTML 2 -- that's over, even if a few people might not have gotten the
message yet.  I don't know what will happen with RDFa vs. microdata.
I find it unlikely that anyone will convince Ian to include RDFa at
this point with just arguments.  But if it sees much wider adoption
than microdata, he'd probably include it.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Parent Message unknown Fwd: [Wikitech-l] Proposal: switch to HTML 5

by Sergey Chernyshev-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

MediaWiki team is switching to HTML 5. I planned to work on integrating RDFa support to Semantic MediaWiki core, but now the question is, how far is RDFa from haveing something working in HTML 5 namespace?

Can you say in a couple of words what stops people from consuming RDFa in HTML 5? in real world that is (e.g. Yahoo, Google, smaller developers?)

Thank you,

        Sergey


--
Sergey Chernyshev
http://www.sergeychernyshev.com/


---------- Forwarded message ----------
From: Aryeh Gregor <Simetrical%2Bwikilist@...>
Date: Fri, Jul 10, 2009 at 10:02 AM
Subject: Re: [Wikitech-l] Proposal: switch to HTML 5
To: Wikimedia developers <wikitech-l@...>


Apparently something ate my last post here.  (I think it was my
Chromium nightly build.)  Okay, reposting from memory:

After discussion with Brion on IRC, I've provisionally enabled an HTML
5 doctype in r53034:

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53034

My thoughts on what we should do in the immediate future are:

1) Get at least the enwiki Main Page set up so it will validate as
HTML 5 when we scap:
<http://validator.w3.org/check?uri=http://en.wikipedia.org/wiki/&charset=(detect+automatically)&doctype=HTML5&group=0>

1a) Remove border="0" from Wikimedia's $wgCopyrightIcon (it does
nothing anyway).

1b) Rope some enwiki sysops into getting rid of all cellpadding,
cellspacing, align, and clear attributes on the Main Page (converting
them to CSS).

2) Scap (whenever this happens -- maybe not so immediate future :) ).

3) Wait a couple of hours to see if anything breaks.

4) Make a tech blog post and post a notice to the whatwg list (I'll do
this).  We'll have our front page validating as HTML 5 at this point,
hopefully, to make a more positive impact.

5) See what happens!

I expect this will pick up some interest, since we'll probably be
increasing the number of HTML 5 page views by a factor of -- oh, ten
thousand?  (Is there any top *1000* site that uses HTML 5 for all its
primary content?)  We can see how things develop, and if all goes well
start using more HTML 5 features.

I'd recommend that until the code goes live, this should be considered
an *experimental* *development* change.  People shouldn't go around
announcing this everywhere until it's actually live.  For one thing,
some unknown problem might crop up and we'd have to temporarily roll
back, which would cause confusion and bad press for both us and HTML
5.  For another thing, it would be nice if we could link to a
validating main page in the announcement.  I'm sure people can hold
off posting stories to Slashdot for a week or two, right?  :)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: Fwd: [Wikitech-l] Proposal: switch to HTML 5

by Shane McCarron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Sergey Chernyshev wrote:
MediaWiki team is switching to HTML 5. I planned to work on integrating RDFa support to Semantic MediaWiki core, but now the question is, how far is RDFa from haveing something working in HTML 5 namespace?
Technically, RDFa is defined in the HTML5 namespace, since HTML5 and XHTML M12N share a namespace.  So I think you are fine.

Can you say in a couple of words what stops people from consuming RDFa in HTML 5? in real world that is (e.g. Yahoo, Google, smaller developers?)
In the real world there is no HTML5.  There have been a couple of working drafts published.  In the real world, I would stick to HTML4 or XHTML 1.  You can safely use RDFa in these contexts.  It works great!

Thank you,

        Sergey


--
Sergey Chernyshev
http://www.sergeychernyshev.com/


---------- Forwarded message ----------
From: Aryeh Gregor <Simetrical%2Bwikilist@...>
Date: Fri, Jul 10, 2009 at 10:02 AM
Subject: Re: [Wikitech-l] Proposal: switch to HTML 5
To: Wikimedia developers <wikitech-l@...>


Apparently something ate my last post here.  (I think it was my
Chromium nightly build.)  Okay, reposting from memory:

After discussion with Brion on IRC, I've provisionally enabled an HTML
5 doctype in r53034:

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53034

My thoughts on what we should do in the immediate future are:

1) Get at least the enwiki Main Page set up so it will validate as
HTML 5 when we scap:
<http://validator.w3.org/check?uri=http://en.wikipedia.org/wiki/&charset=(detect+automatically)&doctype=HTML5&group=0>

1a) Remove border="0" from Wikimedia's $wgCopyrightIcon (it does
nothing anyway).

1b) Rope some enwiki sysops into getting rid of all cellpadding,
cellspacing, align, and clear attributes on the Main Page (converting
them to CSS).

2) Scap (whenever this happens -- maybe not so immediate future :) ).

3) Wait a couple of hours to see if anything breaks.

4) Make a tech blog post and post a notice to the whatwg list (I'll do
this).  We'll have our front page validating as HTML 5 at this point,
hopefully, to make a more positive impact.

5) See what happens!

I expect this will pick up some interest, since we'll probably be
increasing the number of HTML 5 page views by a factor of -- oh, ten
thousand?  (Is there any top *1000* site that uses HTML 5 for all its
primary content?)  We can see how things develop, and if all goes well
start using more HTML 5 features.

I'd recommend that until the code goes live, this should be considered
an *experimental* *development* change.  People shouldn't go around
announcing this everywhere until it's actually live.  For one thing,
some unknown problem might crop up and we'd have to temporarily roll
back, which would cause confusion and bad press for both us and HTML
5.  For another thing, it would be nice if we could link to a
validating main page in the announcement.  I'm sure people can hold
off posting stories to Slashdot for a week or two, right?  :)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@...


Re: [Wikitech-l] Proposal: switch to HTML 5

by Micah Dubinko-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Also, Yahoo (and I'm pretty sure Google) crawlers currently parse RDFa  
from all kinds of web pages, including those with an HTML5 doctype  
declaration.


On Jul 11, 2009, at 1:17 PM, Shane McCarron wrote:

>
>
> Sergey Chernyshev wrote:
>>
>> MediaWiki team is switching to HTML 5. I planned to work on  
>> integrating RDFa support to Semantic MediaWiki core, but now the  
>> question is, how far is RDFa from haveing something working in HTML  
>> 5 namespace?
> Technically, RDFa is defined in the HTML5 namespace, since HTML5 and  
> XHTML M12N share a namespace.  So I think you are fine.
>>
>> Can you say in a couple of words what stops people from consuming  
>> RDFa in HTML 5? in real world that is (e.g. Yahoo, Google, smaller  
>> developers?)
> In the real world there is no HTML5.  There have been a couple of  
> working drafts published.  In the real world, I would stick to HTML4  
> or XHTML 1.  You can safely use RDFa in these contexts.  It works  
> great!
>>
>> Thank you,
>>
>>        Sergey
>>
>>
>> --
>> Sergey Chernyshev
>> http://www.sergeychernyshev.com/
>>
>>
>> ---------- Forwarded message ----------
>> From: Aryeh Gregor <Simetrical+wikilist@...>
>> Date: Fri, Jul 10, 2009 at 10:02 AM
>> Subject: Re: [Wikitech-l] Proposal: switch to HTML 5
>> To: Wikimedia developers <wikitech-l@...>
>>
>>
>> Apparently something ate my last post here.  (I think it was my
>> Chromium nightly build.)  Okay, reposting from memory:
>>
>> After discussion with Brion on IRC, I've provisionally enabled an  
>> HTML
>> 5 doctype in r53034:
>>
>> http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53034
>>
>> My thoughts on what we should do in the immediate future are:
>>
>> 1) Get at least the enwiki Main Page set up so it will validate as
>> HTML 5 when we scap:
>> <http://validator.w3.org/check?uri=http://en.wikipedia.org/wiki/&charset=(detect+automatically)&doctype=HTML5&group=0 
>> >
>>
>> 1a) Remove border="0" from Wikimedia's $wgCopyrightIcon (it does
>> nothing anyway).
>>
>> 1b) Rope some enwiki sysops into getting rid of all cellpadding,
>> cellspacing, align, and clear attributes on the Main Page (converting
>> them to CSS).
>>
>> 2) Scap (whenever this happens -- maybe not so immediate future :) ).
>>
>> 3) Wait a couple of hours to see if anything breaks.
>>
>> 4) Make a tech blog post and post a notice to the whatwg list (I'll  
>> do
>> this).  We'll have our front page validating as HTML 5 at this point,
>> hopefully, to make a more positive impact.
>>
>> 5) See what happens!
>>
>> I expect this will pick up some interest, since we'll probably be
>> increasing the number of HTML 5 page views by a factor of -- oh, ten
>> thousand?  (Is there any top *1000* site that uses HTML 5 for all its
>> primary content?)  We can see how things develop, and if all goes  
>> well
>> start using more HTML 5 features.
>>
>> I'd recommend that until the code goes live, this should be  
>> considered
>> an *experimental* *development* change.  People shouldn't go around
>> announcing this everywhere until it's actually live.  For one thing,
>> some unknown problem might crop up and we'd have to temporarily roll
>> back, which would cause confusion and bad press for both us and HTML
>> 5.  For another thing, it would be nice if we could link to a
>> validating main page in the announcement.  I'm sure people can hold
>> off posting stories to Slashdot for a week or two, right?  :)
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> Wikitech-l@...
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>
> --
> Shane P. McCarron                          Phone: +1 763 786-8160 x120
> Managing Director                            Fax: +1 763 786-8180
> ApTest Minnesota                            Inet: shane@...
>



Re: Fwd: [Wikitech-l] Proposal: switch to HTML 5

by Julian Reschke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Shane McCarron wrote:

>
>
> Sergey Chernyshev wrote:
>> MediaWiki team is switching to HTML 5. I planned to work on
>> integrating RDFa support to Semantic MediaWiki core, but now the
>> question is, how far is RDFa from haveing something working in HTML 5
>> namespace?
> Technically, RDFa is defined in the HTML5 namespace, since HTML5 and
> XHTML M12N share a namespace.  So I think you are fine.
>>
>> Can you say in a couple of words what stops people from consuming RDFa
>> in HTML 5? in real world that is (e.g. Yahoo, Google, smaller developers?)
> In the real world there is no HTML5.  There have been a couple of
> working drafts published.  In the real world, I would stick to HTML4 or
> XHTML 1.  You can safely use RDFa in these contexts.  It works great!
> ...

That is totally misleading.

There is no spec for RDFa-in-HTNL. Not even a working draft, as far as I
can tell.

BR, Julian

(and yes, I'm a supporter of RDFa, but claiming that "there is no
HTML5", and then in the same sentence saying you can do RDFa-in-HTML????)