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 |
||
20. satır: | 20. satır: | ||
var _gaq = _gaq || []; | var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-43820124-3']); | |||
_gaq.push(['_trackPageview']); | |||
(function() { | |||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); |
06.23, 6 Eylül 2013 tarihindeki 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);
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-43820124-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();