User:Entheta/vector.js

var statsTitle = 'Stats'; $( function { if (mw.config.get('wgNamespaceNumber') != -1) {  var cTime = new Date,      month = cTime.getMonth + 1,      year = cTime.getFullYear,      month = month<10?'0'+month:month;  addPortletLink('p-cactions', 'http://stats.grok.se/en/'+ year + month + '/' + mw.config.get('wgPageName'), statsTitle, "ca-stats", "Se besöksstatistik för sidan");  } });