OpenGraphMeta MediaWiki extension

Tags: #<Tag:0x00007fb87df2d9c8>


I suggest to install the OpenGraphMeta extension into the ImageJ wiki installation.

This would enable the wiki to provide metadata using the Open Graph protocol, and permit to embed wiki pages into forum posts by one-boxing the link, similar to how you can embed other posts in discussions as well.

/cc @ctrueden :slight_smile:


I added the OpenGraphMeta extension.


Thanks, @ctrueden!

Great, now ImageJ wiki pages contain some Open Graph metadata like this:

<meta property="og:type" content="website"/>
<meta property="og:title" content="ImageJ"/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>

However, oneboxing of wiki pages in Discourse still doesnโ€™t work yet (as opposed to Google or Facebook, see this tool), because I missed the fact that it also requires a description tag to be present.

Consequently I suggest to also install the Description2 extension which automatically extracts a description from the page content and also allows to explicitly specify a description using a tag. I opened a pull request for this:


Thanks @imagejan; I merged it, pulled the submodule, and updated LocalSettings.php accordingly.


Thank you, it works beautifully now. Here are a few examples: