User:AC0xRPFS001/common.js
来自小鱼君和他的朋友们
注意:在保存以后,您必须绕过浏览器缓存才能看到所作出的改变。
- 谷歌浏览器(Google Chrome)- Windows:按下“Ctrl”键然后按 F5。OS X系统:同时按⌘ Cmd和⇧ Shift键之后按R键。
- Safari - 按住⇧ Shift键然后点击工具栏中重新载入键。
- 火狐(Firefox)- Windows:按住Ctrl键然后按F5。OS X系统:同时按⌘ Cmd和⇧ Shift键之后按R键。
- Internet Explorer:按住Ctrl键然后按F5(或者点击“刷新”按钮)。
/** 自定義工具列 原作者:機智的小魚君 更新版作者:AC0xRPFS001 版本:1.1.2 [rollback] [zh-tw] **/ 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": "註釋" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://vignette.wikia.nocookie.net/zhwikia/images/e/ed/Syntaxhighlight_img.png/revision/latest?cb=20180321165852", "speedTip": "語法凸顯", "tagOpen": "<syntaxhighlight lang=\"\">", "tagClose": "</syntaxhighlight>", "sampleText": "原始碼" }; } /** Change Log: (Format method: (Big Change Times).(Small Change Times).(Debug Times).(Sandbox Times) ) (Tag: [rollback]:has been rollback [beta]:while you rollback beta version, there's no need to add rollback tag. You should only remove the beta tag and change it to correct version. Language: Support language: [zh], [zh-tw], [en], [es] ) v.1.0:Copy Dragonfish's into this page v.1.1:Add syntaxhighlight tag v.1.1.1:Debug version of v.1.1 v.1.1.2:Debug version of v.1.1.1 v.1.1.2.1:Small Test v.1.1.2 [rollback]:rollback **/