W3C home > Mailing lists > Public > public-rdfa@w3.org > March 2009

RDFa on MediaWiki

From: Toby A Inkster <tai@g5n.co.uk>
Date: Mon, 9 Mar 2009 18:19:38 +0000
Message-Id: <93545101-7B94-4E0F-8F5B-320EA978ACB1@g5n.co.uk>
To: public-rdfa@w3.org
I've written a quick patch to enable RDFa on MediaWiki.

http://buzzword.org.uk/2009/mediawiki-patches/xhtml-rdfa.patch

It doesn't do anything to specifically help people add RDFa to  
MediaWiki, but rather prevents MediaWiki from doing things that are  
actively hostile to RDFa (e.g. stripping out RDFa's attributes).

It doesn't change MediaWiki's doctype - you'll need to edit the skin  
for that.

Also, a couple of slightly related extensions:

http://www.mediawiki.org/wiki/Extension:HTML_Profiles - allows people  
to add URIs to <head profile>. By default, adds http://www.w3.org/ 
1999/xhtml/vocab.

http://www.mediawiki.org/wiki/Extension:Link_Attributes - allows rel  
and rev to be set on links.

Creative Commons might want to consider installing some of these on  
the rdfa.info wiki.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Monday, 9 March 2009 18:20:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 March 2009 18:20:15 GMT