MediaWiki:Common.js: Revizyonlar arasındaki fark

Ubuntu Türkiye Wiki sitesinden
Gezinti kısmına atla Arama kısmına atla
(Yeni sayfa: →‎Buraya konulacak JavaScript kodu sitedeki her kullanıcı için her sayfa yüklendiğinde çalışacaktır: var kod = { "imageFile": "images/5/56/Button_big.png", // image to be s...)
 
Değişiklik özeti yok
2. satır: 2. satır:


var kod = {
var kod = {
"imageFile": "images/5/56/Button_big.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"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
"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
"tagOpen": "{{kod||", // the text to use to mark the beginning of the block

17.47, 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);