“User:Sara Lindery/common.js”的版本间的差异
来自小鱼君和他的朋友们
小 |
小 (导入1个版本) |
2019年9月4日 (三) 23:44的最新版本
////////////////////////////// //<source lang="javascript">// ////////////////////////////// /*========== 自定义工具列 ==========*/ //用于subst到各个社区的common.js,{{subst::w:user:机智的小鱼君/edittools}} if (mwCustomEditButtons.length) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "重定向", "tagOpen": "#REDIRECT [" + "[", "tagClose": "]]", "sampleText": "重定向到" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "删除线", "tagOpen": "<s>", "tagClose": "</s>", "sampleText": "删除线" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//vignette.wikia.nocookie.net/central/images/f/fd/Button_underline.png", "speedTip": "下划线", "tagOpen": "<u>", "tagClose": "</u>", "sampleText": "下划线" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "换行符号", "tagOpen": "<br />", "tagClose": "", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "//images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "写入一段不被读取的提示", "tagOpen": "<!-- ", "tagClose": " -->", "sampleText": "独立行" }; } ////////////////////////////// //</source>/////////////////// //////////////////////////////