MediaWiki:Common.js: Revizyonlar arasındaki fark

Ubuntu Türkiye Wiki sitesinden
Gezinti kısmına atla Arama kısmına atla
Değişiklik özeti yok
Değişiklik özeti yok
9. satır: 9. satır:
};
};
mwCustomEditButtons.push(kod);
mwCustomEditButtons.push(kod);
var button = {
"imageFile": "/images/b/bc/Wiki.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "big text", // text shown in a tooltip when hovering the mouse over the button
"tagOpen": "<big>", // the text to use to mark the beginning of the block
"tagClose": "</big>",      // the text to use to mark the end of the block (if any)
"sampleText": "big text"  // the sample text to place inside the block
};
mwCustomEditButtons.push(button);

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

var button = {
	"imageFile": "/images/b/bc/Wiki.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
	"speedTip": "big text", // text shown in a tooltip when hovering the mouse over the button
	"tagOpen": "<big>", // the text to use to mark the beginning of the block
	"tagClose": "</big>",      // the text to use to mark the end of the block (if any)
	"sampleText": "big text"  // the sample text to place inside the block
};
mwCustomEditButtons.push(button);