User:Path slopu/scripts/RBK-assist.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 11:
})
 
$.ajax({
url: event.target.href,
success: function() {
___location.href = mw.util.getUrl('Special:Contributions/' + mw.util.getParamValue('from', event.target.href).replace(/\+/g, '_')) + '?vanarticle=' + encodeURIComponent(mw.util.getParamValue('title', event.target.href).replace(/_/g, ' '));
},
error: function() {
event.target.text(function(index, text) {
return text + ' [failed]';
});