"Dantman" posted a comment on MediaWiki.r111439.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111439#c31156

Commit summary for MediaWiki.r111439:

Introduce property: and itemprop: support for addMeta to add RDFa <meta 
property="..." content="..."> and Microdata <meta itemprop="..." content="..."> 
to the <head>.
This is done in a way that can also be feature tested, and technically could be 
expanded by extensions.

Dantman's comment:

What? Why would you add an itemref to a meta element in the head? Hell, last I 
checked itemref is only valid on an itemscope, a <meta itemprop="" itemref="" 
content=""> is invalid Microdata.

Ok, I made one small mistake. It's not the body that we add the itemscope to, 
it's the <html> element. I'll need to add a an extra hook for that.

And you wouldn't want to avoid scoping in the body. The whole point of itemprop 
in the head is that it applies to the entire page. Things like the schema.org 
WebPage itemtype.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to