MediaWiki:Common.js: Revizyonlar arasındaki fark
Gezinti kısmına atla
Arama kısmına atla
Değişiklik özeti yok |
Değişiklik özeti yok |
||
2. satır: | 2. satır: | ||
var kod = { | var kod = { | ||
"imageFile": "/images/b/bc/Wiki.png", // image to be shown on the button (may be a full URL too), 22x22 pixels | |||
"speedTip": "Kod", // text shown in a tooltip when hovering the mouse over the button | |||
"tagOpen": "{{kod||", // the text to use to mark the beginning of the block | |||
"tagClose": "}}", // the text to use to mark the end of the block (if any) | |||
"sampleText": "sudo apt-get install xchat" // the sample text to place inside the block | |||
}; | }; | ||
mwCustomEditButtons.push(kod); | mwCustomEditButtons.push(kod); |
17.51, 7 Ocak 2010 tarihindeki hâli
/* Buraya konulacak JavaScript kodu sitedeki her kullanıcı için her sayfa yüklendiğinde çalışacaktır */
var kod = {
"imageFile": "/images/b/bc/Wiki.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "Kod", // text shown in a tooltip when hovering the mouse over the button
"tagOpen": "{{kod||", // the text to use to mark the beginning of the block
"tagClose": "}}", // the text to use to mark the end of the block (if any)
"sampleText": "sudo apt-get install xchat" // the sample text to place inside the block
};
mwCustomEditButtons.push(kod);