"GWicke" posted a comment on MediaWiki.r111439. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111439#c31242
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. GWicke's comment: I believe it would be cleaner and less damaging to future microdata use if we instead provided a method for extensions to add an (optional) itemscope / id and multiple contained itemprops within the header. This way microdata with custom itemtypes can be safely added without breaking the global itemtype for a page. By making the itemscope optional, bare itemprops can still be added to extend a global itemtype (presumably WebPage). Using the itemref mechanism, extension output in the body can also extend a microdata item introduced in the header. I would be happy to create such a microdata-specific method, and would prefer if microdata support was not added to addMeta(). _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
