查看“MediaWiki:Gadget-Edittools-vote.js”的源代码
←
MediaWiki:Gadget-Edittools-vote.js
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此JavaScript页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
if ( mw.config.get( 'wgNamespaceNumber' ) !== 0 ) { customizeToolbar( function() { this.wikiEditor('addToToolbar', { 'sections': { 'votes': { 'type': 'toolbar', // Can also be 'booklet' 'label': '投票讨论' // or 'labelMsg': 'section-emoticons-label' for a localized label } } } ); // To add a group to an existing toolbar section: this.wikiEditor('addToToolbar', { 'section': 'votes', 'groups': { 'vote': { } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'group': 'vote', 'tools': { 'support': { label: '支持', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/22px-Symbol_support_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Support}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'oppose': { label: '反对', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Symbol_oppose_vote.svg/22px-Symbol_oppose_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Oppose}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'neutral': { label: '中立', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_neutral_vote.svg/22px-Symbol_neutral_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Neutral}}", periMsg: '填写理由', post: '--~~\~~' } } } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'groups': { 'othervote': { } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'group': 'othervote', 'tools': { 'comment': { label: '意见', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Symbol_opinion_vote.svg/22px-Symbol_opinion_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Comment}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'suggestion': { label: '建议', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Symbol_suggestion_vote.svg/22px-Symbol_suggestion_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Suggestion}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'reply': { label: '回应', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Symbol_reply_vote.svg/22px-Symbol_reply_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Reply}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'remind': { label: '提醒', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_remind_vote.svg/22px-Symbol_remind_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Remind}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'note': { label: '注意', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Symbol_note_vote.svg/22px-Symbol_note_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{注意}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'helpneeded': { label: '求助', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Symbol_question_vote_3.svg/22px-Symbol_question_vote_3.svg.png', action: { type: 'encapsulate', options: { pre: "{{求助}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'question': { label: '疑问/问题', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Symbol_question_vote.svg/22px-Symbol_question_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Question}}", periMsg: '填写理由', post: '--~~\~~' } } } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'groups': { 'vfd': { 'label': '存废讨论' } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'group': 'vfd', 'tools': { 'vk': { label: '保留', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Symbol_kept_vote.svg/22px-Symbol_kept_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vk}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vsk': { label: '快速保留', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Symbol_keep_vote.svg/22px-Symbol_keep_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vsk}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vtk': { label: '暂时保留', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Time2wait.svg/22px-Time2wait.svg.png', action: { type: 'encapsulate', options: { pre: "{{vtk}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vd': { label: '删除', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Symbol_delete_vote.svg/22px-Symbol_delete_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vd}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vsd': { label: '快速删除', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Symbol_speedy_delete_vote.svg/22px-Symbol_speedy_delete_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vsd}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vm': { label: '合并', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Symbol_merge_vote.svg/22px-Symbol_merge_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vm}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vmp': { label: '移动', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/5/50/Symbol_move_vote.svg/22px-Symbol_move_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vmp}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vmu': { label: '移动到用户页', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Symbol_userfy_vote.svg/22px-Symbol_userfy_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{vmu}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'vr': { label: '重定向', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/3/30/Symbol_deferred.svg/22px-Symbol_deferred.svg.png', action: { type: 'encapsulate', options: { pre: "{{vr}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'transwiki': { label: '迁移到姊妹计划', type: 'select', list: { 'vmb' : { label: '迁移到维基教科书', action: { type: 'encapsulate', options: { pre: '{{vmb}}', periMsg: '填写理由', post: '--~~\~~' } } }, 'vmd' : { label: '迁移到维基词典', action: { type: 'encapsulate', options: { 'pre': '{{vmd}}', periMsg: '填写理由', post: '--~~\~~' } } }, 'vms' : { label: '迁移到维基文库', action: { type: 'encapsulate', options: { pre: '{{vms}}', periMsg: '填写理由', post: '--~~\~~' } } }, 'vmq' : { label: '迁移到维基语录', action: { type: 'encapsulate', options: { pre: '{{vmq}}', periMsg: '填写理由', post: '--~~\~~' } } }, 'vmc' : { label: '迁移到維基共享資源', action: { type: 'encapsulate', options: { pre: '{{vmc}}', periMsg: '填写理由', post: '--~~\~~' } } }, 'vmvoy' : { label: '迁移到維基导游', action: { type: 'encapsulate', options: { pre: '{{vmvoy}}', periMsg: '填写理由', post: '--~~\~~' } } } } } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'groups': { 'other': { 'label': '其他' } } } ); this.wikiEditor('addToToolbar', { 'section': 'votes', 'group': 'other', 'tools': { 'possible': { label: '可能', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Symbol_possible_vote.svg/22px-Symbol_possible_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Possible}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'buchong': { label: '補充', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/3/30/Symbol_dot_dot_dot.svg/22px-Symbol_dot_dot_dot.svg.png', action: { type: 'encapsulate', options: { pre: "{{補充}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'notvote': { label: '這不是投票', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Symbol_abstain_vote.svg/22px-Symbol_abstain_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{Notvote}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'thx': { label: '谢谢你', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Emoticon_smile.svg/22px-Emoticon_smile.svg.png', action: { type: 'encapsulate', options: { pre: "{{Thank you}}", periMsg: '填写理由', post: '--~~\~~' } } }, 'orz': { label: '囧', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Symbol_%E5%9B%A7_vote.svg/22px-Symbol_%E5%9B%A7_vote.svg.png', action: { type: 'encapsulate', options: { pre: "{{囧}}", periMsg: '填写理由', post: '--~~\~~' } } } } } ); } ); }
返回
MediaWiki:Gadget-Edittools-vote.js
。
导航菜单
个人工具
登录
命名空间
消息
讨论
English
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
学习园地
新人须知
教程整合
论坛百科
SS分区介绍
论坛设定
论坛文化
传奇殿堂
SS大事年表
SS大学图书馆
维基事务
基本规则
新手指南——技术
新手指南——内容
wiki语法手册
规范全集
工具
链入页面
相关更改
特殊页面
页面信息