User:Irukaza/common.js:修订间差异
跳到导航
跳到搜索
[InPageEdit] 没有编辑摘要 (编辑自Special:Diff/38450)
imported>=海豚= 无编辑摘要 |
imported>=海豚= ([InPageEdit] 没有编辑摘要 (编辑自Special:Diff/38450)) |
||
(未显示同一用户的1个中间版本) | |||
第9行: | 第9行: | ||
try { | try { | ||
var link = new mw.Uri(this.href); | var link = new mw.Uri(this.href); | ||
if (link.host !== ' | if (link.host !== 'commons.moegirl.org') return; | ||
if (/^\/api\.php/i.test(link.path)) return; | if (/^\/api\.php/i.test(link.path)) return; | ||
if (!link.query.title && /\.php$/i.test(link.path)) return; | if (!link.query.title && /\.php$/i.test(link.path)) return; |