Last modified: 2014-05-06 21:30:08 UTC
So far it is impossible to add microdata itemprop="photo" into the img tag which is generate by wrote [[File:Test.jpg]] in editor. <img itemprop="photo" alt="Test.jpg" src="//Test.jpg" width="250" height="250" srcset="//Test.jpg 2x" /> Is it possible to add a function such as [[File:Test.jpg|microdata=photo]] to generate a img tag with itemprop="photo"? <img itemprop="photo" alt="Test.jpg" src="//Test.jpg" width="250" height="250" srcset="//Test.jpg 2x" /> combine this function with template, millions page about people could be easily processed by software.
Thanks for sharing your idea. The bug title does not describe a bug but a solution or feature / new functionality. Hence setting priority to enhancement. Which problem do you try to solve / what is the motivation for this?
Not sure if it's a good idea to add a bunch of possible attributes to all wikitext-generated tags. <meta> can always be used.