Kullanıcı:Kıdemli/monobook.js

Vikipedi, özgür ansiklopedi
Not: Sayfayı kaydettikten sonra değişiklikleri görebilmek için tarayıcınızın önbelleğinizi temizlemeniz gerekir. Google Chrome, Firefox, Microsoft Edge ve Safari: ⇧ Shift tuşuna basılı tutun ve Yeniden Yükle araç çubuğu düğmesine tıklayın. Ayrıntılar ve diğer tarayıcılara yönelik yönergeler için Vikipedi:Önbelleğinizi atlayın sayfasını inceleyin.
//<pre><nowiki>
 
// Değişiklik özetiyle ilgili zannımca  
             mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');
             popupQueriedRevertSummary="$2 tarihli [[Kullanıcı:$3|$3]] sürümü geri getirildi."
             popupQueriedRevertToPreviousSummary="$2 tarihli [[Kullanıcı:$3|$3]] değişikliği geri alındı."
             popupOnEditSelection=true;
             popupAdminLinks=false;
             imagePopupsForImages=true;
 
// Türkçe pop up şeysi için sevgili Srhat'ın hazırlamakta olduğu monobook şeysi
             document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Srhat/strings-tr.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Hoş geldin, sil, deneme vs. şablonlarını tepeden ekleme fonksiyonları
             document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Brk/extedit.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Kullanıcı uyarı mesajları gönderme fonksiyonu
             document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Brk/user.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Çalışma var, çeviri vs. şablonlarını tepeden eklemek için
             document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Vito Genovese/top.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Kullanıcı ve kullanıcı mesaj sayfalarındaki "sayı" sekmesine tıkladın mı kullanıcının istatistiğine gider
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Vito Genovese/misc.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Ne işe yaradığı bilinmemekte 
             document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Vito Genovese/libs.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// Kullanıcı durumu gösteren zamanzingolar         
            document.write('<'+'script src="http://es.wikipedia.org/w/index.php?' 
            +  'title=Kullanıcı:Hedda Gabler/statuschangerX.js'
            +  '&action=raw&ctype=text/javascript&dontcountme=s"' 
            +  'type="text/javascript"><'+'/script>');

//<pre><nowiki>
 
importScript('User:Levent/editcount.js'); //[[User:Levent/editcount.js]]
importScript('User:Levent/editcount.js'); //[[User:Levent/editcounter]]
 
 
 
//enfes fonksiyonlar
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/misc.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//yönetici fonksiyonları
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/sysop.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
//mük-kem-mel bir atlayış
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/top.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//engel fonksiyonları
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/engel.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
document.write('<script type="text/javascript" src="'
 
            + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/silme.js' 
            + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//kıl tüy yün fonksiyonları
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/libs.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//yardımcı fonksiyonlar
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/edit.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//sol tabloda esrarengiz işler
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/user.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
document.write('<script type="text/javascript" src="' 
             + 'http://tr.wikipedia.org/w/index.php?title=Kullanıcı:Levent/yardımcı.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
//////////STATUS CHANGER
// Creator: Misza13
// Credits: Voyagerfan5761 for some minor improvements
 
$(function (){
  //Check if the config is defined
  if (typeof(statusChangerConfig) == 'undefined') {
    statusChangerConfig = {}
  }
 
  if (typeof(statusChangerConfig.statusList) == 'undefined') {
      statusChangerConfig.statusList = [ 'in', 'busy', 'out' ];
  }
 
  if (typeof(statusChangerConfig.statusPage) == 'undefined') {
      statusChangerConfig.statusPage = 'User:' + wgUserName + '/Status';
  }
 
  if (typeof(statusChangerConfig.statusTemplate) == 'undefined') {
      statusChangerConfig.statusTemplate = 'User:' + wgUserName + '/StatusTemplate';
  }
 
  //Add the links
  for (var i=0; i<statusChangerConfig.statusList.length; i++) {
    var stat = statusChangerConfig.statusList[i];
    mw.util.addPortletLink(
      "p-personal", //target tab - personal links
      mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + statusChangerConfig.statusPage + "&action=edit&newstatus=" + stat, //link URL
      stat, //link text
      "pt-status-" + stat, //id of new button
      "I'm " + stat + "!", //hover text
      "", //???
      document.getElementById("pt-logout")); //add before logout button
  }
 
  if (location.href.indexOf("&action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?
  //Get new status
  statusRegExp = /&action=edit&newstatus=(.*)/;
  status = statusRegExp.exec(location.href)[1];
  //Modify the form
  document.getElementById('wpTextbox1').value = "{{" + statusChangerConfig.statusTemplate + "|"+status+"}}";
  document.getElementById('wpSummary').value = "Status update: " + status;
  document.getElementById('wpMinoredit').checked = true;
  //Submit it!
  document.getElementById('editform').submit();
});
 
statusChangerConfig = {
  statusList : [ 'Cevrimici', 'Mesgul', 'Gelecek', 'Film izliyor', 'Cevrimdisi' ],
};
 
 
 
/* Betiğin yüklenmesi */
$(function() {templatescript(define_templates())});
 
//</nowiki></pre>
//</nowiki></pre>

//</nowiki></pre>