Niedzielski added a comment. |
Instead of adding a _javascript_ block, we will put the tag inside the HTML.
I understand the decision was to render the annotation on the server. However, I wish to verify that the task is to inject JSON-LD script tags in PHP like @phuedx demonstrated (T198946#4554157):
... <head> ... <script type="application/ld+json"> { "@context": "http://schema.org", "name": "Yegor Khokhlov", "url": "https://en.wikipedia.org/wiki/Yegor_Khokhlov", "sameAs": [ "https://www.wikidata.org/wiki/Q8051149" ] } </script> ... </head> ...
Not HTML meta tags like:
... <head> ... <meta itemprop="name" content="Yegor Khokhlov"> <meta itemprop="url" content="https://en.wikipedia.org/wiki/Yegor_Khokhlov"> <meta itemprop="sameAs" content="https://www.wikidata.org/wiki/Q8051149"> ... </head> ...
TASK DETAIL
EMAIL PREFERENCES
To: Niedzielski
Cc: Denny, ovasileva, Tbayer, Elitre, CKoerner_WMF, Jdlrobson, Niedzielski, phuedx, dr0ptp4kt, Imarlier, cscott, Krenair, Aklapper, Deskana, Nandana, Lahi, Gq86, GoranSMilovanovic, Chicocvenancio, QZanden, LawExplorer, Winter, Wikidata-bugs, aude, Mbch331
Cc: Denny, ovasileva, Tbayer, Elitre, CKoerner_WMF, Jdlrobson, Niedzielski, phuedx, dr0ptp4kt, Imarlier, cscott, Krenair, Aklapper, Deskana, Nandana, Lahi, Gq86, GoranSMilovanovic, Chicocvenancio, QZanden, LawExplorer, Winter, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs