User:Pecoes/global.js

var talkNameSpaces = [1,3,5,7,9,11,13,15,110,111,401,500,501,502,503];

$(function {    if (undefined != window.wgNamespaceNumber && -1 < $.inArray(wgNamespaceNumber, talkNameSpaces)) {        function appendSignature  {            $('#cke_contents_wpTextbox1 iframe').contents.find('#bodyContent').append(' -- &#126;~');        }        $('#editform').submit(appendSignature);        $('#publish').click(appendSignature);    }    });