Skip to content


ICRA label in MediaWiki

Here is how we added the ICRA label to MediaWiki 1.12

1. Force the Monobook skin for all, or you’ll need to do the same with every skin.

2. Get your label from http://www.icra.org/label/generator/

3. Edit MonoBook.php as follow:
After:
<meta http-equiv=”Content-Type” content=”<?php $this->text(‘mimetype’) ?>; charset=<?php $this->text(‘charset’) ?>” />
Add:
<link rel=”meta” href=”[URL to your label.rdf file on your website]” type=”application/rdf+xml” title=”ICRA labels”/>

4. Upload the stuff.

Posted in MediaWiki, web development.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

Sorry about the CAPTCHA that requires JS. If you really don't want to enable JS and still want to comment, you can send me your comment via e-mail and I'll post it for you.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA