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
19. satır: 19. satır:


mwCustomEditButtons.push(yonlendir);
mwCustomEditButtons.push(yonlendir);
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-12624468-1']);
  _gaq.push(['_trackPageview']);


  (function() {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  })();
ga('create', 'UA-43815309-1', 'ubuntu-tr.net');
ga('send', 'pageview');

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

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43815309-1', 'ubuntu-tr.net');
ga('send', 'pageview');