無編輯摘要
imported>=海豚= 無編輯摘要 |
imported>=海豚= 無編輯摘要 |
||
(未顯示同一使用者於中間所作的 1 次修訂) | |||
行 130: | 行 130: | ||
} | } | ||
//跨站重定向页顶链接 | //跨站重定向页顶链接 | ||
function crossDomain_link() { | function crossDomain_link() { | ||
var url = new mw.Uri(new mw.Uri().query.rdfrom); | var url = new mw.Uri(new mw.Uri().query.rdfrom); | ||
var link = url.query.title; | var link = url.query.title; | ||
行 153: | 行 153: | ||
$(".mw-spcontent > p:nth-child(1), .mw-spcontent > p:nth-child(2), .mw-spcontent > p:nth-child(7)").hide(); | $(".mw-spcontent > p:nth-child(1), .mw-spcontent > p:nth-child(2), .mw-spcontent > p:nth-child(7)").hide(); | ||
} | } | ||
//萌百条目 | |||
$(function(){ | |||
$('#ca-view').after('<li id="ca-editmoegirl"><span class="mw-editmoegirl"><a href="//zh.moegirl.org.cn/index.php?title='+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+'&action=edit" title="前往萌娘百科编辑此条目">在萌娘百科编辑</a></span></li>'); | |||
}); | |||
//关键词警告 | //关键词警告 | ||
function antiAbuseListener(textarea, event) { | function antiAbuseListener(textarea, event) { |