Kullanıcı:Suelnur/monobook.js

VikiKaynak sitesinden

Git ve: kullan, ara

Not: Ayarlarınızı kaydettikten sonra, tarayıcınızın belleğini de temizlemeniz gerekmektedir: Mozilla / Firefox / Safari: Shift e basılıyken safyayı yeniden yükleyerek veya Ctrl-Shift-R yaparak (Apple Mac için Cmd-Shift-R);, IE: Ctrl-F5, Konqueror: Sadece sayfayı yeniden yükle tuşuna basarak.

// <pre>
/*
#########
### TemplateScript
###  by [[m:user:Pathoschild]] 
###    * adds a menu of user-defined, form-specific templates
###    * documentation: [http://meta.wikimedia.org/wiki/User:Pathoschild/Script:TemplateScript]
#########
*/
document.write('<script type="text/javascript" src="'
  + 'http://tr.wikisource.org/w/index.php?title=Kullanıcı:Srhat/TemplateScript.js' 
  + '&action=raw&ctype=text/javascript"></script>');
 
/* define templates */
function define_templates() {
        /* syntax: new_template('type','name','text','optional 1','optional 2','optional 3');
             see documentation
        */
 
        /* ### edit templates below ### */
        new_template('edit','eser1','{{eser1\n | önceki      =\n | sonraki     =\n | başlık      =\n | bölüm       =\n | eser sahibi =\n | notlar      =\n}}');
        new_template('edit','kişi','{{Kişi\n |ismi        =\n |soyismi başharfi=\n |yaşadığı tarih  =\n |açıklamalar   =\n |resim  =\n |vikipedi_bağlantısı     =\n |vikisöz_bağlantısı     =\n |commons_bağlantısı      =\n}}');
        new_template('edit','hoş geldin','{{subst:Hoşgeldin}}\n','VikiKaynak\'a hoş geldin!');
        new_template('edit','düzenle','{{Düzenle}}\n','Düzenle');
        new_template('edit','telif','{{telif}}\n','muhtemel telif ihlali!');
        new_template('edit','çevirmensiz','{{çevirmensiz}}\n','çevirmeni belli değil!');
        /* ### edit templates above ### */
        }
 
/* Load script */
addOnloadHook(function() {templatescript(define_templates())});
 
/* 
#####
## Script:  [[User:TheDJ/Gadget-HotCat.js]]
##  * HotCat: Adds an easy way to add, modify and remove categories 
##  * Documentation: [[User:TheDJ/HotCat]]
##  * Originally written by: Magnus Manske
#####
*/
document.write('<script type="text/javascript" src="'
  + 'http://en.wikipedia.org/w/index.php?title=User:TheDJ/Gadget-HotCat.js' 
  + '&action=raw&ctype=text/javascript"></script>');
 
// </pre>
 
 
if (mwCustomEditButtons) {
 mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8f/Button_poeme.png",
     "speedTip": "Şiir",
     "tagOpen": '<poem>',
     "tagClose": '</poem>',
     "sampleText": "Şiiri ekle"};
};