thiemowmde added a comment.

Discussed with @Lydia_Pintscher today. We tried what Facebook does right now, and it does find title and description since T88475. The only thing missing is the image. We decided we will only add og:image.

To be sure I actually tested this and found that Facebook is happy with this minimum:

<title></title>
<meta name="description" content="…">
<meta property="og:image" content="…">

I did the same test with Twitter and found that Twitter requires this minimal subset:

<meta name="twitter:card" content="summary">
<meta property="og:title" content="…">
<meta property="og:description" content="…">
<meta property="og:image" content="…">

Note that this is different from what is said on https://dev.twitter.com/cards/types/summary:

  • The docs give the impression twitter:site is required, but it's not.
  • Twitter indeed does recognize Open Graph.

But these four tags are required. The moment you remove one, Twitter will not render a nice card any more. You can not replace og:title with the classic <title>. You can not replace og:description with the classic meta description. This is a show stopper for us, because we do not like to have redundant titles and descriptions.


TASK DETAIL
https://phabricator.wikimedia.org/T51859

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: TheDJ, TerraCodes, Jonas, thiemowmde, Sjoerddebruin, Steinsplitter, Ainali, Wikidata-bugs, Jaredzimmerman-WMF, Jdforrester-WMF, Jasper, Legoktm, Nemo_bis, Krinkle, Lydia_Pintscher, yuvipanda, D3r1ck01, MuhammadShuaib, Izno, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to