16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 (// 使用Wikiplus小工具快速编辑) 标签:移动版网页编辑 移动版编辑 |
小 |
||
window.location.replace( url );
}
mw.hook( 'wikipage.content' ).add(function($content) {
$content.find( '.mw-userlink.new' ).attr('href', function() {
const uri = new mw.Uri( this.href ),
title = new mw.Title( uri.query.title );
if (title.getMainText() == mw.config.get('wgUserName')) { return; }
delete uri.query.action;
delete uri.query.redlink;
this.href = uri.toString();
});
});
mw.hook( 'wikipage.categories' ).add(function($content) {
|