User:Tama63/global.js

$(function {    var talkNameSpaces = [1,3,5,7,9,11,13,15,110,111,114,401,500,501,502,503];    if (-1 < $.inArray(wgNamespaceNumber, talkNameSpaces) && 'edit' == $.getUrlVar('action')) {        appendSignature = function  {            editorInstance.setContent( editorInstance.getContent + ' -- ' + String.fromCharCode(126) + '~' );       }        $('input#wpSave').click(appendSignature);        $('a#publish').click(appendSignature);    } }); // ================================================================== // CC added to the global nav // ================================================================== $(document).ready(function {   if (skin == 'oasis')         $('').prependTo('#GlobalNavigation'); });