Last modified: 2014-05-06 21:30:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65099, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63099 - Make the inner image generate code support microdata itemprop="photo"?
Make the inner image generate code support microdata itemprop="photo"?
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.4
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 07:49 UTC by zoglun
Modified: 2014-05-06 21:30 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description zoglun 2014-03-26 07:49:32 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.
Comment 1 Andre Klapper 2014-03-26 12:12:28 UTC
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?
Comment 2 Liangent 2014-05-06 21:30:08 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links