无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第198行: | 第198行: | ||
.append('<a href="//www.hmoegirl.com/Special:%E7%AE%A1%E7%90%86FlowThread%E8%AF%84%E8%AE%BA" target="_blank">评论管理</a>'); | .append('<a href="//www.hmoegirl.com/Special:%E7%AE%A1%E7%90%86FlowThread%E8%AF%84%E8%AE%BA" target="_blank">评论管理</a>'); | ||
$('#flowthread').append(link); | $('#flowthread').append(link); | ||
} | |||
//i18n语言链接 | |||
function i18nLink() { | |||
$('#mw-content-text a.new[href$="/zh-cn"], #mw-content-text a.new[href$="/zh-tw"]').each(function(_, ele) { | |||
$(ele).removeClass('new').attr({ | |||
title: ele.title.replace(/\/zh-[a-z]+|(页面不存在)/g, ''), | |||
href: ele.href.replace(/\/zh-[a-z]+/g, '') | |||
}); | |||
}); | |||
} | } | ||
/* 函数执行块 */ | /* 函数执行块 */ | ||
第203行: | 第212行: | ||
//防滥用过滤器编辑相关 | //防滥用过滤器编辑相关 | ||
if ($('body.mw-special-AbuseFilter')[0] && $('#mw-abusefilter-warn-parameters')[0]) abuseFilterEdit(); | if ($('body.mw-special-AbuseFilter')[0] && $('#mw-abusefilter-warn-parameters')[0]) abuseFilterEdit(); | ||
//Widget预加载模板 | |||
if (mw.config.get('wgNamespaceNumber') == 274 && !mw.config.get('wgCurRevisionId')) widgetPreload(); | |||
//删除保护原因浏览链接 | //删除保护原因浏览链接 | ||
if (window.location.href.indexOf("action=delete") != -1) { | if (window.location.href.indexOf("action=delete") != -1) { | ||
第219行: | 第230行: | ||
}); | }); | ||
})(mediaWiki); | })(mediaWiki); | ||
//i18n语言链接 | |||
//评论管理 | //评论管理 | ||
setInterval(function() { | setInterval(function() { |