$(document).ready(function () {
        if ((mw.config.get('wgNamespaceNumber') == 2) || (mw.config.get('wgNamespaceNumber') == 3)) {
                contr_username = mw.config.get('wgPageName');
                contr_username = contr_username.substring(contr_username.indexOf(':') + 1).replace(/\/.*$/, '');
                contr_username = encodeURIComponent(contr_username);
                var contr_adres = 'http://pl.wikipedia.orghttps://wikines.com/pl/Specjalna:Wkład/' + contr_username;
                var elem = $("<li><span><a href=" + contr_adres + ">Wkład</a></span></li>");
                elem.insertAfter($('#ca-talk'));
        }
});