https://bugzilla.wikimedia.org/show_bug.cgi?id=63099

            Bug ID: 63099
           Summary: Can the inner image generate code support microdata
                    itemprop="photo"?
           Product: MediaWiki
           Version: 1.22.4
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: zog...@gmail.com
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to