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


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

06.12, 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);
  })();