查看“︁MediaWiki:Gadget-Edittools-vplus.js”︁的源代码
←
MediaWiki:Gadget-Edittools-vplus.js
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此JavaScript页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
customizeToolbar( function() { const { conv } = require('ext.gadget.HanAssist'); this.wikiEditor('addToToolbar', { 'sections': { 'pageedits': { 'type': 'toolbar', // Can also be 'booklet' 'label': conv({ hans: '条目编辑', hant: '條目編輯' }) } } } ); this.wikiEditor('addToToolbar', { 'section': 'pageedits', 'groups': { 'pageedits': { } } } ); this.wikiEditor('addToToolbar', { 'section': 'pageedits', 'group': 'pageedits', 'tools': { 'articleEdit': { label: conv({ hans: '条目编辑', hant: '條目編輯' }), type: 'select', list: { 'elink' : { label: conv({ hans: "外部链接章节", hant: "外部連結章節" }), action: { type: 'encapsulate', options: { pre: '\n==外部链接==\n* [', periMsg: '网页地址 网页说明', post: ']\n' } } }, 'seealso' : { label: conv({ hans: "参见章节", hant: "參見章節" }), action: { type: 'encapsulate', options: { pre: '\n==参见==\n* [[', periMsg: '参见地址', post: ']]\n' } } }, 'Disambig' : { label: conv({ hans: "消歧义", hant: "消歧義" }), action: { type: 'encapsulate', options: { pre: '\n\'\'\'{{subst:' + 'PAGENAME}}\'\'\'可以指:\n', periMsg: '* [[歧义1]],描述1\n* [[歧义2]],描述2', post: '\n{\{disambig}\}' } } }, 'otheruses' : { label: conv({ hans: "条目消歧义", hant: "條目消歧義" }), action: { type: 'encapsulate', options: { pre: '{\{Otheruses|', periMsg: '条目名称\|subject=本页主題描述\|other=同名或類似名的其它條目描述', post: '}\}' } } }, 'Current' : { label: conv({ hans: "正在发生", hant: "正在發生" }), action: { type: 'encapsulate', options: { pre: '{\{Current}\}' } } }, } }, 'articleMaintenance': { label: conv({ hans: '页面维护', hant: '頁面維護' }), type: 'select', list: { 'stub' : { label: '小作品', action: { type: 'encapsulate', options: { pre: '\n{\{', post: '小作品}\}' } } }, 'inuse' : { label: conv({ hans: "正在编辑", hant: "正在編輯" }), action: { type: 'encapsulate', options: { pre: '{\{Inuse}\}', } } }, 'Substub' : { label: conv({ hans: "小小条目", hant: "小小條目" }), action: { type: 'encapsulate', options: { pre: '{\{subst:Substub/auto}\}', } } }, 'mergeto' : { label: conv({ hans: "合并本条目到", hant: "合併本條目到" }), action: { type: 'encapsulate', options: { pre: '{\{mergeto\|', periMsg: '合并本条目到的条目名称', post: '}\}' } } }, 'mergefrom' : { label: conv({ hans: "合并到本条目", hant: "合併到本條目" }), action: { type: 'encapsulate', options: { pre: '{\{mergefrom\|', periMsg: '需要合并到本条目的条目名称', post: '}\}' } } }, 'split' : { label: conv({ hans: "分拆条目", hant: "分拆條目" }), action: { type: 'encapsulate', options: { pre: '{\{Split}\}', } } }, 'translation' : { label: conv({ hans: "正在翻译", hant: "正在翻譯" }), action: { type: 'encapsulate', options: { pre: '{\{subst:Translating\/auto\|tfrom=', periMsg: '在此填入来源', post: '\|tpercent=翻譯進度百分數}\}' } } }, } }, 'zhhanshant': { label: '繁简转换', type: 'select', list: { 'noconv' : { label: conv({ hans: "取消繁简转换", hant: "取消繁簡轉換" }), action: { type: 'encapsulate', options: { pre: '-\{', periMsg: '不转换内容', post: '}\-' } } }, 'title' : { label: conv({ hans: "标题错误", hant: "標題錯誤" }), action: { type: 'encapsulate', options: { pre: '-\{T\|', periMsg: '正确标题名称', post: '}\-' } } }, 'noteTA' : { label: conv({ hans: "标题全文转换", hant: "標題全文轉換" }), action: { type: 'encapsulate', options: { pre: '{\{noteTA\n', periMsg: '\|G1=公共组名\n\|1=zh-cn:大陆;zh-tw:台灣;zh-hk:香港;zh-sg:新马;\n\|2=zh-cn:大陆;zh-tw:台灣;zh-hk:香港;zh-sg:新马;\n', post: '}}' } } }, 'image' : { label: conv({ hans: "地区语言图像", hant: "地區語言圖像" }), action: { type: 'encapsulate', options: { pre: '{\{Image\n', periMsg: '\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', post: '}}' } } }, } }, 'langTags': { label: conv({ hans: '非中文标明', hant: '非中文標明' }), type: 'select', list: { 'en' : { label: conv({ hans: "英语", hant: "英語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|en\|', periMsg: conv({ hans: "英语", hant: "英語" }), post: '}\}' } } }, 'de' : { label: conv({ hans: "德语", hant: "德語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|de\|', periMsg: conv({ hans: "德语", hant: "德語" }), post: '}\}' } } }, 'fr' : { label: conv({ hans: "法语", hant: "法語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|fr\|', periMsg: conv({ hans: "法语", hant: "法語" }), post: '}\}' } } }, 'ja' : { label: conv({ hans: "日语", hant: "日語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|ja\|', periMsg: conv({ hans: "日语", hant: "日語" }), post: '}\}' } } }, 'es' : { label: conv({ hans: "西班牙语", hant: "西班牙語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|es\|', periMsg: conv({ hans: "西班牙语", hant: "西班牙語" }), post: '}\}' } } }, 'ar' : { label: conv({ hans: "阿拉伯语", hant: "阿拉伯語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|ar\|', periMsg: conv({ hans: "阿拉伯语", hant: "阿拉伯語" }), post: '}\}' } } }, 'ru' : { label: conv({ hans: "俄语", hant: "俄語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|ru\|', periMsg: conv({ hans: "俄语", hant: "俄語" }), post: '}\}' } } }, 'he' : { label: conv({ hans: "希伯来语", hant: "希伯來語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|he\|', periMsg: conv({ hans: "希伯来语", hant: "希伯來語" }), post: '}\}' } } }, 'el' : { label: conv({ hans: "希腊语", hant: "希臘語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|el\|', periMsg: conv({ hans: "希腊语", hant: "希臘語" }), post: '}\}' } } }, 'pt' : { label: conv({ hans: "葡萄牙语", hant: "葡萄牙語" }), action: { type: 'encapsulate', options: { pre: '{\{lang\|pt\|', periMsg: conv({ hans: "葡萄牙语", hant: "葡萄牙語" }), post: '}\}' } } }, 'la' : { label: '拉丁语', action: { type: 'encapsulate', options: { pre: '{\{lang\|la\|', periMsg: '拉丁语', post: '}\}' } } }, 'langcode' : { label: conv({ hans: "其他语言", hant: "其他語言" }), action: { type: 'encapsulate', options: { pre: "{\{lang\|"+conv({ hans: "在此填上语言代码\|", hant: "在此填上語言代碼\|" }), periMsg: conv({ hans: "其他语言", hant: "其他語言" }), post: '}\}' } } } } } } }); } );
返回
MediaWiki:Gadget-Edittools-vplus.js
。
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
系统消息
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息