• 正在查找将来过去时的官方设定集?不如看看万界大百科吧!
  • 《将来过去时》第一部分 现在 魔科纪元的少年少女 即将正式发布!
  • 让我偷偷看一眼小鱼君的博客……
  • 服务器已成功迁移到 阿里云(杭州)

“User:AC0xRPFS001/common.js”的版本间的差异

来自小鱼君和他的朋友们
 
(导入1个版本)
 

2019年9月4日 (三) 23:45的最新版本

/**
自定義工具列
原作者:機智的小魚君
更新版作者: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
**/