I'd like to insert a flattr image in my mediawiki installation. That requires to insert a <script>...</script>
section into the header of the html file. I have no clue, where I can insert this, for I can't find a <head>
-tag in the file MonoBook.php
. I use the current mediawiki software (1.16.2) and the MonoBook style. Can someone give me a clue where I can insert the required javascript?
I have found a good solution: I enable JavaScript with $wgUseSiteJs = true;
and insert the flattr js in MediaWiki:Common.js
.