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
 
(3 kullanıcıdan 23 ara revizyon gösterilmiyor)
1. satır: 1. satır:
/* Buraya konulacak JavaScript kodu sitedeki her kullanıcı için her sayfa yüklendiğinde çalışacaktır */
var kategori = {
"imageFile": "/images/b/b6/Kategoritusu.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "Kategori", // text shown in a tooltip when hovering the mouse over the button
"tagOpen": "[[kategori:", // 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": "Ubuntu"  // the sample text to place inside the block
};
mwCustomEditButtons.push(kategori);
 


var kod = {
var yonlendir = {
"imageFile": "images/5/56/Button_big.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"imageFile": "/images/8/88/Yonlendirtusu.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": "yönlendir", // 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": "#REDIRECT [[", // 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)
"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
"sampleText": "Yönlenecek Sayfa"  // the sample text to place inside the block
};
};
mwCustomEditButtons.push(kod);
 
 
mwCustomEditButtons.push(yonlendir);

04.24, 22 Eylül 2013 itibarı ile sayfanın şu anki hâli

var kategori = {
"imageFile": "/images/b/b6/Kategoritusu.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "Kategori", // text shown in a tooltip when hovering the mouse over the button
"tagOpen": "[[kategori:", // 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": "Ubuntu"  // the sample text to place inside the block
};
mwCustomEditButtons.push(kategori);


var yonlendir = {
"imageFile": "/images/8/88/Yonlendirtusu.png", // image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "yönlendir", // text shown in a tooltip when hovering the mouse over the button
"tagOpen": "#REDIRECT [[", // 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": "Yönlenecek Sayfa"  // the sample text to place inside the block
};


mwCustomEditButtons.push(yonlendir);