跳转到内容

User:Cdip150/customEdittools.js

维基百科,自由的百科全书

这是本页的一个历史版本,由Cdip150留言 | 贡献2008年2月21日 (四) 03:45编辑。这可能和当前版本存在着巨大的差异。

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
mwCustomEditButtons.remove(mwCustomEditButtons['btnSigOnly']);
mwCustomEditButtons.insert( createEditButton('btnMyShortSign',{
	src        : '6/6d/Button_sig.png',
	tagOpen    : '—{\{subst:User:Cdip150\/sign|short}\} ~~\~~\~',
	sampleText : '',
	tagClose   : '',
	speedTip   : '短簽名',
	width      : 12
}) , mwCustomEditButtons['btnSignature']);

importScript('User:Cdip150/工具/介面/MacauEditTool.js');

onloadFuncts.push(
 function (){
  var summaryinput=document.getElementById("wpSummary");
  if(summaryinput && summaryinput.maxLength) summaryinput.maxLength=null;
 }
);