MediaWiki:Gadget-rollback-summary.js:修订间差异

imported>=海豚=
无编辑摘要
top:​bad link repair, replaced: hmoegirl.com → hmoegirl.info
 
(未显示1个用户的2个中间版本)
第22行: 第22行:
         if (rollbackSummary !== null) $.ajax({
         if (rollbackSummary !== null) $.ajax({
             type: 'POST',
             type: 'POST',
             url: 'https://www.hmoegirl.com/api.php',
             url: 'https://www.hmoegirl.info/api.php',
             beforeSend: function() {
             beforeSend: function() {
                 self.replaceWith('<span id="rbing"><img src="https://static.mengniang.org/common/d/d1/Windows_10_loading.gif" style="height: 1em; margin-top: -.25em;">正在回退中……</span>');
                 self.replaceWith('<span id="rbing"><img src="https://img.moegirl.org.cn/common/d/d1/Windows_10_loading.gif" style="height: 1em; margin-top: -.25em;">正在回退中……</span>');
                 self = $('#rbing');
                 self = $('#rbing');
                 $('.mw-rollback-link a').not(self).css({
                 $('.mw-rollback-link a').not(self).css({
第64行: 第64行:
         self.data('href', self.attr('href')).removeAttr('href') //取消拖动链接回退
         self.data('href', self.attr('href')).removeAttr('href') //取消拖动链接回退
             .attr('title', this.title + '(启用自定义摘要)').css('cursor', 'pointer').append('<sup>+</sup>');
             .attr('title', this.title + '(启用自定义摘要)').css('cursor', 'pointer').append('<sup>+</sup>');
         if ($('.ns-special')[0] && self.text().indexOf('10') != -1) self.parent().text('[超过10次的编辑]').attr('title', '超过10次的编辑请使用撤销功能,以便检查差异(自定义摘要小工具)');
         if ($('.ns-special')[0] && self.text().indexOf('10') != -1) self.parent().text('[超过10次的编辑]').attr('title', '超过10次的编辑请使用撤销功能,以便检查差异');
     }
     }
});
});