User blog:German77/Wiki site meter

Hi every one I just want to let you know I make a wiki site meter were you can see how many have visit the wiki but you have to set up some code in /monaco.js, just copy and paste in the page the followed code:

// ============================================================ // wikiSiteMeter // // Function: Adds a counter from http://www.sitemeter.com/ // ============================================================

function wikiSiteMeter { if(skin == "monobook") { var sidebar = document.getElementById("p-wikicities-nav");

if(sidebar == null) return;

var comboString = " wiki site meter "; comboString += "  ";

sidebar.innerHTML += comboString; }

if(skin == "monaco") { var sidebar = document.getElementById("widget_101");

if(sidebar == null) return;

var comboString = " Wiki Site Meter"; comboString += " ";

sidebar.innerHTML += comboString; } } addOnloadHook(wikiSiteMeter);

// ============================================================ // End of wikiSiteMeter // ============================================================