266
个编辑
imported>=海豚= (创建页面,内容为“$(function() { mw.config.set({ 'wgRollbacking': false, 'wgRollbackTool': 'inited' }); $.fn.extend({ getParamValue: function getPa…”) |
小 (→top:bad link repair, replaced: hmoegirl.com → hmoegirl.info) |
||
| (未显示1个用户的3个中间版本) | |||
| 第22行: | 第22行: | ||
if (rollbackSummary !== null) $.ajax({ | if (rollbackSummary !== null) $.ajax({ | ||
type: 'POST', | type: 'POST', | ||
url: 'https:// | url: 'https://www.hmoegirl.info/api.php', | ||
beforeSend: function() { | beforeSend: function() { | ||
self.replaceWith('<span id="rbing"><img src="https:// | 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次的编辑请使用撤销功能,以便检查差异'); | ||
} | } | ||
}); | }); | ||