Board Thread:Wiki Management/@comment-5407503-20130505035205/@comment-5079138-20130511100124

I think this that causes the Wikia.js doesnt work.

var user = wgPageName.substring ( wgPageName.lastIndexOf ( "/" ) + 1 ) .replace ( /_/g , " " <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; <span class="sy0" style="color:rgb(51,153,51);">Try to replace it with this (from Chat Moderator Wiki)

<span class="kw1" style="line-height:14px;font-weight:bold;color:rgb(0,0,102);"> var <span style="line-height:14px;color:rgb(0,0,0);"> user <span class="sy0" style="line-height:14px;color:rgb(51,153,51);">= <span style="line-height:14px;color:rgb(0,0,0);"> wgPageName.<span class="me1" style="color:rgb(102,0,102);">substring <span class="br0" style="color:rgb(0,153,0);">( wgPageName.<span class="me1" style="color:rgb(102,0,102);">lastIndexOf <span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(51,102,204);">"/" <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">+ <span class="nu0" style="color:rgb(204,0,0);">1 <span class="br0" style="color:rgb(0,153,0);">) .<span class="me1" style="color:rgb(102,0,102);">replace <span class="br0" style="color:rgb(0,153,0);">( <span class="co2" style="font-style:italic;color:rgb(0,153,102);">/_/g <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(51,102,204);">" " <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; Zergrinch, var rights = {} is correct. That's not the cause. KF, do not edit the var rights = {}. It's already correct.