Parembugan MédhiaWiki:ExtraEditButtons.js

message: /* Tambahan tombol di atas kotak suntingan
<nowiki>*/
if ( mwCustomEditButtons && LoadExtraEditButtons ) {
	
	var imagePath = 'http://upload.wikimedia.org/wikipedia/commons/';
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "e/e9/Button_headline2.png",
		"speedTip": "Subbagian tingkat 2",
		"tagOpen": "\n=== ",
		"tagClose": " ===\n",
		"sampleText": "Subbagian2"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "3/3a/Button_headline3.png",
		"speedTip": "Subbagian tingkat 3",
		"tagOpen": "\n==== ",
		"tagClose": " ====\n",
		"sampleText": "Subbagian3"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "f/fd/Button_underline.png",
		"speedTip": "Garis bawah",
		"tagOpen": "<u>",
		"tagClose": "</u>",
		"sampleText": "Text garis bawah"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "c/c9/Button_strike.png",
		"speedTip": "Coret",
		"tagOpen": "
",
		"tagClose": "
",
		"sampleText": "Text dicoret"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "6/6a/Button_sup_letter.png",
		"speedTip": "Superscript",
		"tagOpen": "<sup>",
		"tagClose": "</sup>",
		"sampleText": "Teks superscript"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "a/aa/Button_sub_letter.png",
		"speedTip": "Subscript",
		"tagOpen": "<sub>",
		"tagClose": "</sub>",
		"sampleText": "Teks subscript"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "1/11/Btn_toolbar_liste.png",
		"speedTip": "Daftar biasa",
		"tagOpen": "\n* ",
		"tagClose": "\n* Elemen B\n* Elemen C",
		"sampleText": "Element A"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "8/88/Btn_toolbar_enum.png",
		"speedTip": "Daftar bernomor",
		"tagOpen": "\n# ",
		"tagClose": "\n# Elemen 2\n# Elemen 3",
		"sampleText": "Elemen 1"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "d/d3/Button_definition_list.png",
		"speedTip": "Daftar definisi",
		"tagOpen": "\n; ",
		"tagClose": "\n: Item 1\n: Item 2",
		"sampleText": "Definisi"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "e/eb/Button_plantilla.png",
		"speedTip": "Templat",
		"tagOpen": "{{",
		"tagClose": "}}",
		"sampleText": "Templat"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "b/b4/Button_category03.png",
		"speedTip": "Kategori",
		"tagOpen": "[[Kategori:",
		"tagClose": "]]",
		"sampleText": "Kategori"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "7/79/Button_reflink.png",
		"speedTip": "Rujukan",
		"tagOpen": "<ref>",
		"tagClose": "</ref>",
		"sampleText": "Rujukan"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "3/3b/Button_template_alt.png",
		"speedTip": "Catatan kaki",
		"tagOpen": "\n== Catatan kaki ==\n\n{{reflist}}\n",
		"tagClose": "",
		"sampleText": ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "c/c8/Button_redirect.png",
		"speedTip": "Pengalihan",
		"tagOpen": "#REDIRECT[[",
		"tagClose": "]]",
		"sampleText": "Artikel"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "7/74/Button_comment.png",
		"speedTip": "Komentar tersembunyi",
		"tagOpen": "<!-- ",
		"tagClose": " -->",
		"sampleText": "Komentar"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "9/9e/Btn_toolbar_gallery.png",
		"speedTip": "Galeri gambar",
		"tagOpen": "\n<gallery>\n",
		"tagClose": "\n</gallery>",
		"sampleText": "Berkas:Contoh.jpg|Judul1\nBerkas:Contoh.jpg|Judul2"
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile": imagePath + "0/04/Button_array.png",
		"speedTip": "Tabel",
		"tagOpen": '{| class="wikitable"\n|-\n',
		"tagClose": "\n|}",
		"sampleText": "! kepala1\n! kepala2\n|-\n| baris1, kolom1\n| baris1, kolom2\n|-\n| baris2, kolom1\n| baris2, kolom2"
	};
}
/*</nowiki>*/