User:Sap00acm/customEdittools.js

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。

addDropdownMenu("vfd",wgULS('提刪','提刪'),[
	{ 
		id         : "afd",
		text       : "提出條目刪除",
		tagOpen    : "{\{afd|" ,
		sampleText : "原因",
		tagClose   : "}\}"
	},
	{
		id         : "quickdelte",
		text       : wgULS("快速刪除","快速刪除"),
		tagOpen    : "{\{d|",
		sampleText : "原因",
		tagClose   : "}\}"
	},
	{             
		id         : "imagefd",
		text       : wgULS("提出圖像刪除","提出圖像刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : "|i}\}"
	},
	{             
		id         : "categoryfd",
		text       : wgULS("提出分類刪除","提出分類刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : '|c}\}'
	},
	{             
		id         : "templatefd",
		text       : wgULS("提出模板刪除","提出模板刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : "|t}\}"
	},
	{             
		id         : "userpagefd",
		text       : wgULS("提出用戶頁刪除","提出用戶頁刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : "|u}\}"
	},
	{             
		id         : "multipagefd",
		text       : wgULS("提出綜合刪除","提出綜合刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : "|m}\}"
	},
	{             
		id         : "redirectfd",
		text       : wgULS("提出重定向刪除","提出重定向刪除"),
		tagOpen    : "{\{vfd|",
		sampleText : "原因",
		tagClose   : "|r}\}"
	},
	{ 
		id         : "vfdwikt",
		text       : wgULS("移動到維基詞典","移動到維基詞典"),
		tagOpen    : "{\{vfd-wikt",
		sampleText : "",
		tagClose   : "}\}"
	},
	{ 
		id         : "vfdq",
		text       : wgULS("移動到維基語錄","移動到維基語錄"),
		tagOpen    : "{\{vfd-q",
		sampleText : "",
		tagClose   : "}\}"
	},
	{ 
		id         : "vfdb",
		text       : wgULS("移動到維基教科書","移動到維基教科書"),
		tagOpen    : "{\{vfd-b",
		sampleText : "",
		tagClose   : "}\}"
	},
	{ 
		id         : "mergefrom",
		text       : wgULS("移動到維基文庫","移動到維基文庫"),
		tagOpen    : "{\{vfd-s",
		sampleText : "",
		tagClose   : "}\}"
	},
	{             
		id         : "Copyvioo",
		text       : wgULS("标示侵权","標示侵權"),
		tagOpen    : "\n{\{subst:Copyvio/auto|url=",
		sampleText : "*http://url1\n*http://url2\n*http://url3",
		tagClose   : "}\}\n"
	}

]);
 
addDropdownMenu("quickdelete",wgULS('快速刪除','快速刪除'),[
	{
		id         : "G1",
		text       : wgULS("G1 沒有實際內容","G1 沒有實際內容"),
		tagOpen    : "{\{d|" ,
		sampleText : "G1" ,
		tagClose   : "}\}"
	},
	{ 
		id         : "G2",
		text       : wgULS("G2 測試頁面","G2 測試頁面"),
		tagOpen    : "{\{d|" ,
		sampleText : "G2" ,
		tagClose   : "}\}"
	},
	{ 
		id         : "G3",
		text       : wgULS("G3 純粹的破壞","G3 純粹的破壞"),
		tagOpen    : "{\{d|" ,
		sampleText : "G3" ,
		tagClose   : "}\}"
	},
	{ 
		id         : "G4",
		text       : wgULS("G4 非常短、無定義","G4 非常短、無定義"),
		tagOpen    : "{\{d|" ,
		sampleText : "G4" ,
		tagClose   : "}\}"
	},
	{ 
		id         : "G5",
		text       : wgULS("G5 重建內容犯規","G5 重建內容犯規"),
		tagOpen    : "{\{d|",
		sampleText : "G5",
		tagClose   : "}\}"
	},
	{ 
		id         : "G7",
		text       : wgULS("G7 兩星期沒翻譯","G7 兩星期沒翻譯"),
		tagOpen    : "{\{d|",
		sampleText : "G7",
		tagClose   : "}\}"
	},
	{ 
		id         : "G9",
		text       : wgULS("G9 只包括參考","G9 只包括參考"),
		tagOpen    : "{\{d|" ,
		sampleText : "G9",
		tagClose   : "}\}"
	},
	{ 
		id         : "G10",
		text       : wgULS("G10 原作者提刪","G10 原作者提刪"),
		tagOpen    : "{\{d|",
		sampleText : "G10",
		tagClose   : "}\}"
	},
	{ 
		id         : "G11",
		text       : wgULS("G11 廣告、自傳","G11 廣告、自傳"),
		tagOpen    : '{\{d|',
		sampleText : 'G11',
		tagClose   : "}\}"
	},
	{ 
		id         : "G12",
		text       : wgULS("G12 人身攻擊","G12 人身攻擊"),
		tagOpen    : "{\{d|",
		sampleText : "G12",
		tagClose   : "}\}"
	},
	{ 
		id         : "G13",
		text       : wgULS("G13 拙劣的機器翻譯","G13 拙劣的機器翻譯"),
		tagOpen    : "{\{d|",
		sampleText : "G13",
		tagClose   : "}\}"
	},	
	{ 
		id         : "I1",
		text       : wgULS("I1 重複圖片","I1 重複圖片"),
		tagOpen    : "{\{d|",
		sampleText : "I1",
		tagClose   : "}\}"
	},
	{ 
		id         : "I5",
		text       : wgULS("I5 較佳圖片取代 ","I5 較佳圖片取代"),
		tagOpen    : "{\{d|",
		sampleText : "I5",
		tagClose   : "}\}"
	},
	{ 
		id         : "I6",
		text       : wgULS("I6 孤立圖像","I6 孤立圖像"),
		tagOpen    : "{\{d|",
		sampleText : "I6",
		tagClose   : "}\}"
	},
	{ 
		id         : "R1",
		text       : wgULS("R1 斷連結重定向","R1 斷連結重定向譯"),
		tagOpen    : "{\{d|",
		sampleText : "R1",
		tagClose   : "}\}"
	},
	{ 
		id         : "R3",
		text       : wgULS("R3 錯誤重定向","R3 錯誤重定向"),
		tagOpen    : "{\{d|",
		sampleText : "R3",
		tagClose   : "}\}"
	},
	{ 
		id         : "O1",
		text       : wgULS("O1 用戶清除用戶頁","O1 用戶清除用戶頁"),
		tagOpen    : "{\{d|",
		sampleText : "O1",
		tagClose   : "}\}"
	},
	{ 
		id         : "O2",
		text       : wgULS("O2 孤立的討論頁","O2 孤立的討論頁譯"),
		tagOpen    : "{\{d|",
		sampleText : "O2",
		tagClose   : "}\}"
	},
	{ 
		id         : "O3",
		text       : wgULS("O3 匿名用戶討論頁","O3 匿名用戶討論頁"),
		tagOpen    : "{\{d|",
		sampleText : "O3",
		tagClose   : "}\}"
	},
	{ 
		id         : "O4",
		text       : wgULS("O4 空的類別","O4 空的類別"),
		tagOpen    : "{\{d|",
		sampleText : "O4",
		tagClose   : "}\}"
	},
	{ 
		id         : "O6",
		text       : wgULS("O6 用戶/討論頁","O6 用戶/討論頁"),
		tagOpen    : "{\{d|",
		sampleText : "O6",
		tagClose   : "}\}"
	},
	{ 
		id         : "G",
		text       : wgULS("其它","其它"),
		tagOpen    : "{\{d|",
		sampleText : "快速刪除的原因",
		tagClose   : "}\}"
	}
]);

addDropdownMenu("welcome",wgULS('歡迎新手','歡迎新手'),[
	{ 
		id         : "simple",
		text       : "基本",
		tagOpen    : "{\{" ,
		sampleText : "subst:Welcome",
		tagClose   : "}\}"
	},
	{
		id         : "IP only",
		text       : wgULS("IP地址","IP地址"),
		tagOpen    : "{\{",
		sampleText : "subst:Welcomeip",
		tagClose   : "}\}"
	},
	{             
		id         : "angel n",
		text       : wgULS("小天使迎新","小天使迎新"),
		tagOpen    : "{\{",
		sampleText : "subst:小天使迎新",
		tagClose   : "}\}"
	},
	{             
		id         : "TAIWAN",
		text       : wgULS("台灣","台灣"),
		tagOpen    : "{\{",
		sampleText : "subst:WelcomeTW",
		tagClose   : '}\}'
	},
	{             
		id         : "GUANGDONG",
		text       : wgULS("廣東","廣東"),
		tagOpen    : "{\{",
		sampleText : "subst:Welcomegd",
		tagClose   : '}\}'
	},
	{             
		id         : "HONGKONG",
		text       : wgULS("香港","香港"),
		tagOpen    : "{\{",
		sampleText : "subst:Welcomehk",
		tagClose   : '}\}'
	},
	{             
		id         : "MACAO",
		text       : wgULS("澳門","澳門"),
		tagOpen    : "{\{",
		sampleText : "subst:BemVindoMAC",
		tagClose   : '}\}'
	},
	{             
		id         : "film",
		text       : wgULS("電影","電影"),
		tagOpen    : "{\{",
		sampleText : "subst:Welcomefl",
		tagClose   : '}\}'
	},
	{             
		id         : "pl",
		text       : wgULS("心理學","心理學"),
		tagOpen    : "{\{",
		sampleText : "subst:Welcomepl",
		tagClose   : '}\}'
	},
	{             
		id         : "bio",
		text       : wgULS("生物學","生物學"),
		tagOpen    : "{\{",
		sampleText : "subst:WelcomeBIO",
		tagClose   : '}\}'
	},
	{             
		id         : "CHEM",
		text       : wgULS("化學","化學"),
		tagOpen    : "{\{",
		sampleText : "subst:WelcomeCHEM",
		tagClose   : '}\}'
	},
	{             
		id         : "MDE",
		text       : wgULS("醫藥","醫藥"),
		tagOpen    : "{\{",
		sampleText : "subst:WelcomeMDE",
		tagClose   : '}\}'
	},
	{             
		id         : "TAIWAN",
		text       : wgULS("動漫、游戲","動漫、游戲"),
		tagOpen    : "{\{",
		sampleText : "subst:WelcomeACG",
		tagClose   : '}\}'
	}
]);