I'd like to make 2 notes.
It looks like the property -> meta tag mapping is done in LocalSettings. Can you guarantee this will stay that way? There are a number of XSS vectors that would be introduced if it becomes possible to define a property -> meta mappings handled by OutputPage::addMeta on-wiki.
The hardcoding of og: looks terrible. property="" is not an OpenGraph thing, it's an RDFa attribute. There are plenty of things besides just og: that use property.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
On 2015-03-02 10:48 AM, Jeroen De Dauw wrote:
Hey all,
I'm happy to announce the immediate availability of the new Semantic Meta Tags extension.
It is a Semantic Mediawiki extension for adding meta tags to a page with content generated from semantic annotations.
This extension enables to automatically extend the HTML <meta> tags of a page with content generated from selected properties with:
- Standard tags (e.g. meta name="keywords") as well as
- Summary card and Open Graph protocol tags (e.g. meta property="og:title"
or "twitter:description")
You can find installation and usage instructions for the extension at https://github.com/SemanticMediaWiki/SemanticMetaTags#semantic-meta-tags
This extension has been created by James Hong Kong, with some minor contributions by Karsten Hoffmeyer, Jamie Thingelstad and myself.
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Evil software architect at Wikimedia Germany ~=[,,_,,]:3 _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l