用户讨论:Bounce1996
/define buttons 定义按钮与下拉菜单 addEditButton('btnInterLink',{ src : 'c/c0/Button_link.png', tagOpen : '[[', sampleText : '链接标题', tagClose : ']]', speedTip : wgULS("内部链接","内部链接") }); addEditButton('btnInterHashLink',{ src : "9/93/Button_sub_link.png", tagOpen : wgULS("[[条目#","[[条目#"), sampleText : wgULS("章节|文本","章节|文本"), tagClose : "]]", speedTip : wgULS("内部段落链接","内部段落连结") }); addEditButton('btnCategoryLink',{ src : "b/b0/Button_category02.png", tagOpen : "[[:Category:", sampleText : wgULS("分类名","分类名"), tagClose : "]]", speedTip : wgULS("分类链接","分类连结") }); addEditButton('btnMediaLink',{ src : '9/9d/Media_icon.png', tagOpen : '[[Media:', sampleText : 'Example.ogg', tagClose : ']]', speedTip : wgULS('媒体文件链接','媒体文件连结') }); addEditButton('btnExtraLink',{ src : '7/73/External_link_icon.png', tagOpen : '[', sampleText : 'http://www.example.com 链接标题', tagClose : ']', speedTip : wgULS('外部链接(加前缀 http://)',"外部连接(加前缀http://)") }); addEditButton('btnTemplateLink',{ src : "9/97/Template_button.png", tagOpen : "{{", sampleText : "模板名", tagClose : "}}", speedTip : wgULS("应用模板","模板") }); addEditButton('btnCategory',{ src : "b/b4/Button_category03.png", tagOpen : "[[Category:", sampleText : wgULS("分类名","分类名"), tagClose : "]]", speedTip : wgULS("分类","分类") }); addEditButton('btnRedirect',{ src : "4/47/Button_redir.png", tagOpen : "#REDIRECT [[", sampleText : wgULS("目标条目名","目标条目名"), tagClose : "]]", speedTip : "重定向" }); addEditButton('btnImage',{ src : 'f/f0/Image_icon.png', tagOpen : '[[File:', sampleText : 'Example.jpg', tagClose : ']]', speedTip : wgULS('嵌入图像','内嵌影像') }); addEditButton('btnAdvImage',{ src : "1/1c/Button_advanced_image.png",
tagOpen : "
错误:必须在第一行指定一个图像。
",
speedTip : wgULS("高级画像", "高级画像") }); var __temp="\nFile:PictureFileName.jpg|"+wgULS("图片题注","图片题注"); addEditButton('btnGallery',{ src : "9/9e/Btn_toolbar_gallery.png",
tagOpen : "
",
speedTip : wgULS("画廊", "画廊")
});
addEditButton('btnMath',{
src : '5/5b/Math_icon.png',
tagOpen : '解析失败 (SVG(MathML可通过浏览器插件启用):从服务器“http://localhost:6011/zh.wikipedia.org/v1/”返回无效的响应(“Math extension cannot connect to Restbase.”):): {\displaystyle ', sampleText : '插入数学公式', tagClose : '}
',
speedTip : wgULS('插入数学公式(LaTeX)',"插入数学公式(LaTeX)")
});
addEditButton('btnNowiki',{
src : '8/82/Nowiki_icon.png',
tagOpen : '',
sampleText : '插入非格式文本',
tagClose : '',
speedTip : wgULS('插入非格式文本','非维基格式文字')
});
addEditButton('btnSigOnly',{
src : 'd/d8/Button_sig_zh.png',
tagOpen : '~~\~',
sampleText : ,
tagClose : ,
speedTip : wgULS('签名(无日期)','签名(无日期)'),
width : 12
});
addEditButton('btnSignature',{
src : '6/6d/Button_sig.png',
tagOpen : '—~~\~~',
sampleText : ,
tagClose : ,
speedTip : wgULS('签名','签名')
});
addEditButton('btnHeadline2',{
src : 'e/e9/Button_headline2.png',
tagOpen : '== ',
sampleText : '标题文字',
tagClose : ' ==',
speedTip : wgULS('二级标题',"二级标题"),
action : 'lineInsert'
});
addEditButton('btnHeadline3',{
src : "3/3a/Button_headline3.png",
tagOpen : "=== ",
sampleText : wgULS("标题文本","标题文本"),
tagClose : " ===",
speedTip : wgULS("三级子标题","三级副标题"),
action : 'lineInsert'
});
addEditButton('btnHr',{
src : 'a/a4/H-line_icon.png',
tagOpen : '\n----\n',
sampleText : ,
tagClose : ,
speedTip : wgULS('水平线','水平线')
});
addEditButton('btnBr',{
src : "1/13/Button_enter.png",
tagOpen : "
",
sampleText : "",
tagClose : "",
speedTip : wgULS("换行","分行")
});
addEditButton('btnBold',{
src : '6/6f/Bold_icon.png',
tagOpen : '\'\'\,
sampleText : '粗体',
tagClose : '\'\'\,
speedTip : wgULS('粗体',"粗体")
});
addEditButton('btnItalic',{
src : 'd/d7/Italic_icon.png',
tagOpen : '\'\,
sampleText : '斜体',
tagClose : '\'\,
speedTip : wgULS('斜体',"斜体")
});
addEditButton('btnUnderline',{
src : 'f/fd/Button_underline.png',
tagOpen : '',
sampleText : wgULS("下划线","下划线"),
tagClose : '',
speedTip : wgULS("下划线","下划线")
});
addEditButton('btnStrike',{
src : "c/c9/Button_strike.png",
tagOpen : "",
sampleText : wgULS("删除线","删除线"),
tagClose : "",
speedTip : wgULS("删除线","删除线")
});
addEditButton('btnAlignLeft',{
src : "e/ea/Button_align_left.png",
tagOpen : '
sampleText : wgULS("左对齐","左对齐"),
tagClose : "\n",
speedTip : wgULS("左对齐","靠左对齐"), action : 'lineInsert' }); addEditButton('btnAlignCenter',{ src : "5/5f/Button_center.png",
tagOpen : '
sampleText : wgULS("居中","置中"),
tagClose : "\n",
speedTip : wgULS("居中","置中"), action : 'lineInsert' }); addEditButton('btnAlignRight',{ src : "a/a5/Button_align_right.png",
tagOpen : '
sampleText : wgULS("右对齐","靠右对齐"),
tagClose : "\n",
speedTip : wgULS("右对齐","靠右对齐"),
action : 'lineInsert'
});
addEditButton('btnSup',{
src : "6/6a/Button_sup_letter.png",
tagOpen : "",
sampleText : wgULS("上标","上标"),
tagClose : "",
speedTip : wgULS("上标","上标")
});
addEditButton('btnSub',{
src : "a/aa/Button_sub_letter.png",
tagOpen : "",
sampleText : wgULS("下标","下标"),
tagClose : "",
speedTip : wgULS("下标","下标")
});
addEditButton('btnBig',{
src : "5/56/Button_big.png",
tagOpen : '',
sampleText : "放大",
tagClose : "",
speedTip : "放大"
});
addEditButton('btnSmall',{
src : "5/58/Button_small.png",
tagOpen : '',
sampleText : wgULS("缩小","缩小"),
tagClose : "",
speedTip : wgULS("缩小","缩小")
});
addEditButton('btnShift',{
src : "8/8e/Button_shifting.png",
tagOpen : ":",
sampleText : "",
tagClose : "",
speedTip : wgULS("缩进","缩排"),
action : 'lineInsert'
});
addEditButton('btnEnum',{
src : "8/88/Btn_toolbar_enum.png",
tagOpen : "#",
sampleText : "",
tagClose : "",
speedTip : wgULS("数字列表","数字列表"),
action : 'lineInsert'
});
addEditButton('btnList',{
src : "1/11/Btn_toolbar_liste.png",
tagOpen : "*",
sampleText : "",
tagClose : "",
speedTip : wgULS("符号列表","符号列表"),
action : 'lineInsert'
});
addEditButton('btnDefine',{
src : "d/d3/Button_definition_list.png",
tagOpen : "; ",
sampleText : wgULS("释义","释义") ,
tagClose : " : ",
speedTip : wgULS("定义文本","定义文本"),
action : 'lineInsert'
});
addEditButton('btnColor',{
src : "1/1e/Button_font_color.png",
tagOpen : '',
sampleText : "彩色文本",
tagClose : "",
speedTip : "彩色文字"
});
addEditButton('btnQuote',{
src : "f/fd/Button_blockquote.png",
tagOpen : '{\{quote|\n',
sampleText : "引文",
tagClose : "\n}\}",
speedTip : wgULS("块引用","块引用")
});
addEditButton('btnCode',{
src : "2/23/Button_code.png",
tagOpen : "",
sampleText : wgULS("代码","程式碼"),
tagClose : "
",
speedTip : wgULS("代码文本","程式码文字")
});
addEditButton('btnSource',{
src : "d/d2/Button_source.png",
tagOpen : '
',
sampleText : wgULS("源代码","源程式碼"),
tagClose : "
",
speedTip : wgULS("高亮代码","高亮程式码") }); addEditButton('btnComment',{ src : "3/34/Button_hide_comment.png", tagOpen : "", speedTip : wgULS("注释或隐藏文字","注释或隐藏文字") }); addEditButton('btnTable',{ src : "0/04/Button_array.png", tagOpen : '\n{| border="1" \n|- \n| 第一部分 || 第二部分 \n|- \n| 第三部分 || 第四部分', sampleText : "", tagClose : "\n|}\n", speedTip : "插入表格" }); addEditButton('btnRef',{ src : "c/c4/Button_ref.png", tagOpen : "[1]", speedTip : wgULS("参考","参考") }); addEditButton('btnRef2',{ src : "c/cf/Button_ref_adv.png", tagOpen : '[2]', speedTip : wgULS("同项参考","同项参考"), width : 12 }); addEditButton('btnReferences',{ src : "f/fe/Button_refs.png",
tagOpen : '\n==参考资料==\n
',
sampleText : , tagClose : , speedTip : wgULS("参考资料区","参考资料区") }); delete __temp;
addDropdownMenu("articleEdit",wgULS('条目编辑','条目编辑'),[
{
id : "elink",
text : wgULS("外部链接章节","外部链接章节"),
tagOpen : "\n==外部链接==\n* [" ,
sampleText : "网页地址 网页说明" ,
tagClose : "]\n"
},
{
id : "image",
text : wgULS("地区语言图像","地区语言图像"),
tagOpen : "{\{Image\n" ,
sampleText : "\t|zh=无转换图像名\n\t|zh-hans=简体图像名\n\t|zh-hant= 繁体图像名\n\t|zh-cn=大陆图像名\n\t|zh-tw=台湾图像名\n\t|zh-hk=香港图像名\n\t|zh=马新图像名\n\t|图像属性\n" ,
tagClose : "}\}"
},
{
id : "seealso",
text : wgULS("参见章节","参见章节"),
tagOpen : "\n==参见==\n* [[" ,
sampleText : "参见地址" ,
tagClose : "]]\n"
},
{
id : "Disambig",
text : wgULS("消歧义","消歧义"),
tagOpen : "\nBounce1996可以指:\n" ,
sampleText : "* 歧义1,描述1\n* 歧义2,描述2" ,
tagClose : "\n{\{disambig}\}"
},
{
id : "otheruses",
text : wgULS("条目消歧义","条目消歧义"),
tagOpen : "{\{Otheruses|",
sampleText : "条目名称|subject=本页主题描述|other=同名或类似名的其它条目描述",
tagClose : "}\}"
},
{
id : "Current",
text : wgULS("正在发生","正在发生"),
tagOpen : "{\{Current}\}",
sampleText : "",
tagClose : ""
},
{
id : "noconv",
text : wgULS("取消繁简转换","取消繁简转换"),
tagOpen : "-\{" ,
sampleText : "不转换内容",
tagClose : "}\-"
},
{
id : "title",
text : wgULS("标题错误","标题错误"),
tagOpen : "-\{T|",
sampleText : "正确标题名称",
tagClose : "}\-"
},
{
id : "noteTA",
text : wgULS("标题全文转换","标题全文转换"),
tagOpen : '{\{noteTA\n',
sampleText : '|G1=公共组名\n|1=zh-cn:大陆;zh-tw:台湾;zh-hk:香港;zh-sg:新马;\n|2=zh-cn:大陆;zh-tw:台湾;zh-hk:香港;zh-sg:新马;\n',
tagClose : "}\}"
},
{
id : "lrm",
text : "LRM符",
tagOpen : "\u200E",
sampleText : "",
tagClose : ""
}
]);
addDropdownMenu("articleMaintenance",wgULS('页面维护','页面维护'),[ { id : "stub", text : "小作品", tagOpen : "\n{\{" , sampleText : "" , tagClose : "小作品}\}" }, { id : "inuse", text : wgULS("正在编辑","正在编辑"), tagOpen : "{\{Inuse}\}", sampleText : "", tagClose : "" }, { id : "Unreferenced", text : wgULS("缺少参考文献","缺少参考文献"), tagOpen : "{\{subst:Unreferenced/auto}\}", sampleText : "", tagClose : "" }, { id : "Substub", text : wgULS("小小条目","小小条目"), tagOpen : "{\{subst:Substub/auto}\}", sampleText : "", tagClose : }, { id : "vfd", text : wgULS("标示删除","标示删除"), tagOpen : "{\{subst:vfd/auto|", sampleText : "理由", tagClose : "}\}" }, { id : "sd", text : wgULS("标示快速删除","标示快速删除"), tagOpen : "{\{Delete|", sampleText : "理由", tagClose : "}\}" }, { id : "Copyvio", text : wgULS("标示侵权","标示侵权"), tagOpen : "\n{\{subst:Copyvio/auto|url=", sampleText : "*http://url1\n*http://url2\n*http://url3", tagClose : "}\}\n" }, { id : "mergeto", text : wgULS("合并本条目到","合并本条目到"), tagOpen : "{\{mergeto|", sampleText : "合并本条目到的条目名称", tagClose : "}\}" }, { id : "mergefrom", text : wgULS("合并到本条目","合并到本条目"), tagOpen : "{\{mergefrom|", sampleText : "需要合并到本条目的条目名称", tagClose : "}\}" }, { id : "split", text : wgULS("分拆条目","分拆条目"), tagOpen : "{\{Split}\}", sampleText : "", tagClose : "" }, { id : "translation", text : wgULS("正在翻译","正在翻译"), tagOpen : "{\{translation|tfrom=", sampleText : "在此填入来源", tagClose : "|tpercent=翻译进度百分数}\}" } ]);
addDropdownMenu("langTags",wgULS('非中文标明','非中文标明'),[ { id : "en", text : wgULS("英语","英语"), tagOpen : "{\{lang|en|", sampleText : wgULS("英语","英语"), tagClose : "}\}" }, { id : "de", text : wgULS("德语","德语"), tagOpen : "{\{lang|de|", sampleText : wgULS("德语","德语"), tagClose : "}\}" }, { id : "fr", text : wgULS("法语","法语"), tagOpen : "{\{lang|fr|", sampleText : wgULS("法语","法语"), tagClose : "}\}" }, { id : "ja", text : wgULS("日语","日语"), tagOpen : "{\{lang|ja|", sampleText : wgULS("日语","日语"), tagClose : "}\}" }, { id : "es", text : wgULS("西班牙语","西班牙语"), tagOpen : "{\{lang|es|", sampleText : wgULS("西班牙语","西班牙语"), tagClose : "}\}" }, { id : "ar", text : wgULS("阿拉伯语","阿拉伯语"), tagOpen : "{\{lang|ar|", sampleText : wgULS("阿拉伯语","阿拉伯语"), tagClose : "|\u200E}\}" }, { id : "ru", text : wgULS("俄语","俄语"), tagOpen : "{\{lang|ru|", sampleText : wgULS("俄语","俄语"), tagClose : "}\}" }, { id : "he", text : wgULS("希伯来语","希伯来语"), tagOpen : "{\{lang|he|", sampleText : wgULS("希伯来语","希伯来语"), tagClose : "|\u200E}\}" }, { id : "el", text : wgULS("希腊语","希腊语"), tagOpen : "{\{lang|el|", sampleText : wgULS("希腊语","希腊语"), tagClose : "}\}" }, { id : "pt", text : wgULS("葡萄牙语","葡萄牙语"), tagOpen : "{\{lang|pt|", sampleText : wgULS("葡萄牙语","葡萄牙语"), tagClose : "}\}" }, { id : "langcode", text : wgULS("其他语言","其他语言"), tagOpen : "{\{lang|"+wgULS("在此填上语言代码|","在此填上语言代码|"), sampleText : wgULS("其他语言","其他语言"), tagClose : "}\}" }, { id : 'nochineseRedirect', text : '非中文重定向', tagOpen : '{\{非中文重定向}\}', sampleText : , tagClose : } ]);
发起与Bounce1996的讨论
讨论页是人们讨论如何改善Wikipedia上的内容的地方。发起新讨论来与Bounce1996交流和合作。您在这里的留言会向他人公开。