User:Ajraddatz/monaco.js

/*** Adding a guide button to pages - not yet functional! ***/ if(skin === "monaco") { switch(wgCanonicalNamespace) { case "Guide": $(function {   $(' ').append( $('Guide').attr({href: wgTitle.replace(/^(.*)$/, wgArticlePath)}) ).prependTo('#page_tabs');    $('#ca-nstab-'+wgCanonicalNamespace.toLowerCase).text(wgCanonicalNamespace.replace(/^Guide_/, ''));  }); }