[11:33:51] hello! Is there a way to determine which is the "small image" an article is showing when shared on social media? [11:34:25] thumbnail? [11:36:28] yes [11:36:59] It depends on the social media. Each has its own rules but usually look for og:image tag in pur html. We offer that [11:37:15] https://eu.wikipedia.org/wiki/Azala/Grid If I share this link with you it gets some image that is not relevant. I would like to show the Wikipedia logo instead. [11:38:53] Extension:PageImages - MediaWiki [11:38:55] https://www.mediawiki.org/wiki/Extension:PageImages [11:39:25] This extension picks and sets the og:image tag. I don't know of any easy way to override it [11:40:01] class=notpageimage on the image to ignore images as main image afaik [11:40:19] There is no prefered image class yet [11:44:39] if the first image is the Wikipedia logo, would it take it? [12:16:52] It's the first image in the article text, IIRC [12:30:50] Oh if you randomize your content, which i think is what u are doing on that page… [12:30:50] It might be pageimage is selected with the first parse after you save and then stored until the next time you save the page. Not entirely sure, but i have a vague memory that it’s a page property and not a parsercache result and that that has this side effect. [12:56:36] the page has been saved other times, but the image remains [13:17:30] That's cdn 24h caching for logged out users (unlikey, they get purged after edits) or telegram's own caching [14:09:07] https://eu.wikipedia.org/wiki/Azala/Grid?random=0 [16:29:29] here it is: https://phabricator.wikimedia.org/T364012 (re @Jan_ainali: I would love to see a write up of this discussion afterwards.)