Site Notice
hello, world
Difference between revisions of "User:机智的小鱼君/common.js"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
(Uninstall InPageEdit) |
||
Line 1: | Line 1: | ||
− | |||
$(function(){ | $(function(){ | ||
$('#ca-view').after( | $('#ca-view').after( |
Revision as of 15:00, 23 November 2019
$(function(){
$('#ca-view').after(
$('<li>',{
id:'ca-quick-edit',
class:'collapsible'
}).append(
$('<span>').append(
$('<a>',{
href: 'javascript:void(0)'
})
.text('快速编辑')
.click(function(){
InPageEdit.edit({
page: mw.config.get('wgPageName'),
revision: mw.config.get('wgRevisionId')
});
})
)
)
);
});