MédhiaWiki:ExtraEditButtons.js
Cathetan: Nalika rampung nyimpen, panjenengan kudu mbusek telihing pangluruné panjenengan supaya owahané katon.
- Firefox / Safari: Pencèt Shift nalika ngeklik Reload, utawa pencèt Ctrl-F5 utawa Ctrl-R (⌘-R ing Mac)
- Google Chrome: Pencèt Ctrl-Shift-R (⌘-Shift-R ing Mac)
- Internet Explorer / Edge: Pencèt Ctrl nalika ngeklik Refresh, utawa pencèt Ctrl-F5
- Opera: Menyang Menu → Settings (Opera → Preferences ing Mac) nuli menyang Privacy & security → Clear browsing data → Cached images and files.
/* Tambahan tombol sadhuwuré kothak suntingan
<pre><nowiki>*/
if ( mwCustomEditButtons && LoadExtraEditButtons ) {
var imagePath = '//upload.wikimedia.org/wikipedia/commons/';
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "e/e9/Button_headline2.png",
"speedTip": "Subbagéyan tingkat 2",
"tagOpen": "\n=== ",
"tagClose": " ===\n",
"sampleText": "Subbagéyan2"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "3/3a/Button_headline3.png",
"speedTip": "Subbagéyan tingkat 3",
"tagOpen": "\n==== ",
"tagClose": " ====\n",
"sampleText": "Subbagéyan3"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "f/fd/Button_underline.png",
"speedTip": "Garis ngisor",
"tagOpen": "<u>",
"tagClose": "</u>",
"sampleText": "Tèks garis ngisor"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "c/c9/Button_strike.png",
"speedTip": "Corèt",
"tagOpen": "<s>",
"tagClose": "</s>",
"sampleText": "Tèks dicorèt"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "6/6a/Button_sup_letter.png",
"speedTip": "Superscript",
"tagOpen": "<sup>",
"tagClose": "</sup>",
"sampleText": "Tèks superscript"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "a/aa/Button_sub_letter.png",
"speedTip": "Subscript",
"tagOpen": "<sub>",
"tagClose": "</sub>",
"sampleText": "Tèks subscript"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "1/11/Btn_toolbar_liste.png",
"speedTip": "Daftar biyasa",
"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 anomer",
"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 dhéfinisi",
"tagOpen": "\n; ",
"tagClose": "\n: Item 1\n: Item 2",
"sampleText": "Dhéfinisi"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "e/eb/Button_plantilla.png",
"speedTip": "Cithakan",
"tagOpen": "{{",
"tagClose": "}}",
"sampleText": "Cithakan"
};
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": "Cathetan sikil",
"tagOpen": "\n== Cathetan sikil ==\n\n{{reflist}}\n",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "c/c8/Button_redirect.png",
"speedTip": "Pangalihan",
"tagOpen": "#REDIRECT[[",
"tagClose": "]]",
"sampleText": "Artikel"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": imagePath + "7/74/Button_comment.png",
"speedTip": "Komentar sing ndelik",
"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": "Gambar: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></pre>*/