Pengguna:Bennylin/monobook.js
Loncat ke navigasi
Loncat ke pencarian
Catatan: Setelah menyimpan preferensi, Anda perlu membersihkan kas penjelajah web Anda untuk melihat perubahan.
- Mozilla / Firefox / Safari: tekan Ctrl-Shift-R (Cmd-Shift-R pada Apple Mac);
- Opera bersihkan melalui menu Tools→Preferences.
- Internet Explorer: tekan Ctrl-F5;
- Konqueror:: tekan F5;
/* === Tambahan toolbar === Menambahkan tombol di belakang toolbar. Variabel array mybtn: # Nama berkas icon. Cari di [http://commons.wikimedia.org/wiki/Category:ButtonToolbar] # Tooltips # Pembuka # Penutup # Teks standar */ var imagePath = 'http://upload.wikimedia.org/wikipedia/commons/'; var mybtn = new Array(); mybtn[mybtn.length] = new Array( "f/fd/Button_underline.png", "Under-lain", "<u>", "</u>", "Teks" ); mybtn[mybtn.length] = new Array( "c/c9/Button_strike.png", "Straik-tru", "<s>", "</s>", "Teks" ); mybtn[mybtn.length] = new Array( "6/6a/Button_sup_letter.png", "Super-skrip", "<sup>", "</sup>", "Teks" ); mybtn[mybtn.length] = new Array( "a/aa/Button_sub_letter.png", "Sub-skrip", "<sub>", "</sub>", "Teks" ); mybtn[mybtn.length] = new Array( "7/79/Button_reflink.png", "Rujukan", "<ref>", "</ref>", "Rujukan" ); mybtn[mybtn.length] = new Array( "0/01/Button_includeonly_green.png", "Inklud onli", "<includeonly>", "</includeonly>", "Teks" ); mybtn[mybtn.length] = new Array( "c/ce/Button_no_include.png", "No inklud", "<noinclude>", "</noinclude>", "Teks" ); mybtn[mybtn.length] = new Array( "9/9e/Btn_toolbar_gallery.png", "Galeri", "<gallery>", "</gallery>", "Teks" ); mybtn[mybtn.length] = new Array( "e/e9/Button_headline2.png", "Subbagian 2", "===", "===", "Teks" ); mybtn[mybtn.length] = new Array( "3/3a/Button_headline3.png", "Subbagian 3", "====", "====", "Teks" ); mybtn[mybtn.length] = new Array( "e/eb/Button_plantilla.png", "Templat", "{{", "}}", "Templat" ); mybtn[mybtn.length] = new Array( "c/c6/Button_Kat.png", "Kategori", "[[Kategori:", "]]", "Kategori" ); mybtn[mybtn.length] = new Array( "c/c8/Button_redirect.png", "Redireksi", "#ALIH [[", "]]", "Redireksi" ); mybtn[mybtn.length] = new Array( "7/74/Button_comment.png", "Komentar", "<!-- ", " -->", "Komentar" ); for ( var i = 0; i < mybtn.length; i++ ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile" : imagePath + mybtn[i][0], "speedTip" : mybtn[i][1], "tagOpen" : mybtn[i][2], "tagClose" : mybtn[i][3], "sampleText": mybtn[i][4] }; }