Jump to content

User:CnkALTDS/user.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CnkALTDS (talk | contribs) at 15:14, 27 April 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// <source lang="javascript">
/*************
*** TemplateScript
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/TemplateScript>
***    - adds a menu of user-defined, form-specific templates
*************/
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/TemplateScript.js&action=raw&ctype=text/javascript');
 
/* 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','Hoş geldin','{{subst:hoş geldin}}\n','Vikipedi\'ye hoş geldiniz!');
        new_template('edit','Blan 1','{{uw-delete2}}\n','Warning 2: Do not blank pages');
        new_template('edit','Blank 2','{{uw-delete3}}\n','Warning 3: Do not blank pages');
        new_template('edit','BLANK','{{uw-delete4}}\n','Final warning: Do not blank pages');
        new_template('edit','Joke 1','{{uw-joke2}}\n','Warning 2: Please do not joke');
	new_template('edit','Joke 2','{{uw-joke3}}\n','Warning 3: Please do not joke');
        new_template('edit','JOKE','{{uw-joke4}}\n','Final warning: Please do not joke');
        new_template('edit','Test 1','{{uw-test2}}\n','Warning 2: Do not make test in Wikipedia articles');
        new_template('edit','Test 2','{{uw-test3}}\n','Warning 3: Do not make test in Wikipedia articles');
        new_template('edit','TEST','{{uw-test4}}\n','Final warning: Do not make test in Wikipedia articles');
        new_template('edit','Advert 1','{{uw-advert2}}\n','Warning 2: It is not allowed to make advert in Wikipedia');
        new_template('edit','Advert 2','{{uw-advert3}}\n','Warning 3: It is not allowed to make advert in Wikipedia');
        new_template('edit','ADVERT','{{uw-advert4}}\n','Final warning: It is not allowed to make advert in Wikipedia');
        new_template('edit','Spam 1','{{uw-spam2}}\n','Warning 1: It is not allowed to add spamlinks in Wikipedia');
        new_template('edit','Spam 2','{{uw-spam3}}\n','Warning 2: It is not allowed to add spamlinks in Wikipedia');
        new_template('edit','SPAM','{{uw-spam4}}\n','Final warning: It is not allowed to add spamlinks in Wikipedia');
        new_template('edit','Template 1','{{uw-tdel2}}\n','Warning 2: Do not remove templates');
        new_template('edit','TEMPLATE','{{uw-tdel4}}\n','Final warning :Do not remove templates');
        new_template('edit','Vandal 1','{{uw-vandalism1}}\n','Warning 2: Do not make vandalism');
        new_template('edit','Vandal 2','{{uw-vandalism2}}\n','Warning 3: Do not make vandalism');
        new_template('edit','VANDAL','{{uw-vandalism4}}\n','Final warning: Do not make vandalism');
        new_template('edit','Redirect 1','{{uw-redirect2}}\n','Warning 2: Do not redirect wrongly');
        new_template('edit','REDIRECT','{{uw-redirect4}}\n','Final warning: Do not redirect wrongly');
        new_template('edit','G1-anlamsız','{{sil|[[VP:HS#Genel|Genel 1 - Hiçbir anlam ifade etmeyen yazı]]}}\n','Sil - [[VP:HS#Genel|Genel 1]]');
        new_template('edit','G2-deneme','{{sil|[[VP:HS#Genel|Genel 2 - Deneme]]}}\n','Sil - [[VP:HS#Genel|Genel 2]]');
        new_template('edit','G3-vandalizm','{{sil|[[VP:HS#Genel|Genel 3 - Vandalizm]]}}\n','Sil - [[VP:HS#Genel|Genel 3]]');
        new_template('edit','G4-silinmiş içerik','{{sil|[[VP:HS#Genel|Genel 4 - Daha önce silinmiş içeriğin büyük ölçüde aynısı]]}}\n','Sil - [[VP:HS#Genel|Genel 4]]');
        new_template('edit','G6-yazar talebi','{{sil|[[VP:HS#Genel|Genel 6 - Kullanıcı talebi]]}}\n','Sil - [[VP:HS#Genel|Genel 6]]');
        new_template('edit','G7-tartışma','{{sil|[[VP:HS#Genel|Genel 7 - Silinmiş maddenin tartışması]]}}\n','Sil - [[VP:HS#Genel|Genel 7]]');
        new_template('edit','G9-telif ihlali','{{sil|[[VP:HS#Genel|Genel 9 - Telif ihlali]]}}\n','Sil - [[VP:HS#Genel|Genel 9]]');
        new_template('edit','G10-saldırı','{{sil|[[VP:HS#Genel|Genel 10 - Saldırı]]}}\n','Sil - [[VP:HS#Genel|Genel 10]]');
        new_template('edit','G11-reklam','{{sil|[[VP:HS#Genel|Genel 11 - Reklam]]}}\n','Sil - [[VP:HS#Genel|Genel 11]]');
        new_template('edit','G12-ilg.tartışma','{{sil|[[VP:HS#Genel|Genel 12 - İçeriği geliştirmeye yönelik olmayan tartışma]]}}\n','Sil - [[VP:HS#Genel|Genel 12]]');
 
        new_template('edit','M1-kısa','{{sil|[[VP:HS#Maddeler|Madde 1 - Taslak kriterlerini sağlamayan kısa/tanımsız içerik]]}}\n','Sil - [[VP:HS#Maddeler|Madde 1]]');
        new_template('edit','M2-yabancı dilde','{{sil|[[VP:HS#Maddeler|Madde 2 - Yabancı dilde]]}}\n','Sil - [[VP:HS#Maddeler|Madde 2]]');
        new_template('edit','M3-içeriksiz','{{sil|[[VP:HS#Maddeler|Madde 3 - İçeriksiz]]}}\n','Sil - [[VP:HS#Maddeler|Madde 3]]');
        new_template('edit','M4-transvikilenmiş','{{sil|[[VP:HS#Maddeler|Madde 4 - Transvikilenmiş]]}}\n','Sil - [[VP:HS#Maddeler|Madde 4]]');
        new_template('edit','M6-ansiklopedik değil','{{sil|[[VP:HS#Maddeler|Madde 6 - Ansiklopedik olmayan kişi, grup veya oluşum]]}}\n','Sil - [[VP:HS#Maddeler|Madde 6]]');
        new_template('edit','M8-düzene uygunsuz','{{sil|[[VP:HS#Maddeler|Madde 8 - Düzen ve ansiklopediklik açısından uygunsuz]]}}\n','Sil - [[VP:HS#Maddeler|Madde 8]]');
 
        new_template('edit','Y1-boşa yönlendirme','{{sil|[[VP:HS#Yönlendirmeler|Yönlendirme 1 - Varolmayan sayfaya yönlendirme]]}}\n','Sil - [[VP:HS#Yönlendirmeler|Yönlendirme 1]]');
        new_template('edit','Y2-kötü yönlendirme','{{sil|[[VP:HS#Yönlendirmeler|Yönlendirme 2 - Kötü yönlendirme]]}}\n','Sil - [[VP:HS#Yönlendirmeler|Yönlendirme 2]]');
        new_template('edit','Y3-isimalanı yön.','{{sil|[[VP:HS#Yönlendirmeler|Yönlendirme 3 - Farklı isimalanları arasında yönlendirme]]}}\n','Sil - [[VP:HS#Yönlendirmeler|Yönlendirme 3]]');
 
        new_template('edit','D1-çift kopya','{{sil|[[VP:HS#Dosyalar|Dosya 1 - Çift kopya dosya]]}}\n','Sil - [[VP:HS#Dosyalar|Dosya 1]]');
        new_template('edit','D2-bozuk/boş','{{sil|[[VP:HS#Dosyalar|Dosya 2 - Bozuk ya da boş dosya]]}}\n','Sil - [[VP:HS#Dosyalar|Dosya 2]]');
        new_template('edit','D3-uygunsuz lisanslı','{{sil|[[VP:HS#Dosyalar|Dosya 3 - Uygunsuz lisanslı dosya]]}}\n','Sil - [[VP:HS#Dosyalar|Dosya 3]]');
        new_template('edit','D8-ansiklopedik değil','{{sil|[[VP:HS#Dosyalar|Dosya 8 - Ansiklopedik değil ve kullanılmıyor]]}}\n','Sil - [[VP:HS#Dosyalar|Dosya 8]]');
        new_template('edit','D9-kullanışsız','{{sil|[[VP:HS#Dosyalar|Dosya 9 - Kullanışsız dosya]]}}\n','Sil - [[VP:HS#Dosyalar|Dosya 9]]');
 
        new_template('edit','K1-boş kategori','{{sil|[[VP:HS#Kategoriler|Kategori 1 - Boş kategori]]}}\n','Sil - [[VP:HS#Kategoriler|Kategori 1]]');
        new_template('edit','K2-yeniden adlandırma','{{sil|[[VP:HS#Kategoriler|Kategori 2 - Hızlı yeniden adlandırma kategorisi]]}}\n','Sil - [[VP:HS#Kategoriler|Kategori 2]]');
        new_template('edit','K3-şablon kategorisi','{{sil|[[VP:HS#Kategoriler|Kategori 3 - Şablon kategorisi]]}}\n','Sil - [[VP:HS#Kategoriler|Kategori 3]]');
 
        new_template('edit','KS2-olmayan kullanıcı','{{sil|[[VP:HS#Kullanıcı sayfaları|Kullanıcı sayfası 2 - Var olmayan kullanıcı]]}}\n','Sil - [[VP:HS#Kullanıcı sayfaları|Kullanıcı sayfası 2]]');
        new_template('edit','KS3-AK galerisi','{{sil|[[VP:HS#Kullanıcı sayfaları|Kullanıcı sayfası 3 - Adil kullanım galerisi]]}}\n','Sil - [[VP:HS#Kullanıcı sayfaları|Kullanıcı sayfası 3]]');
 
        new_template('edit','Ş1-kışkırtıcı','{{sil|[[VP:HS#Şablonlar|Şablon 1 - Bölücü veya kışkırtıcı şablon]]}}\n','Sil - [[VP:HS#Şablonlar|Şablon 1]]');
        new_template('edit','Ş1-kullanılmıyor','{{sil|[[VP:HS#Şablonlar|Şablon 2 - Kullanılmayan şablon]]}}\n','Sil - [[VP:HS#Şablonlar|Şablon 2]]');
 
        new_template('edit','P1-madde olarak silinir','{{sil|[[VP:HS#Portallar|Portal 1 - Madde olarak silinebilecek türde portal]]}}\n','Sil - [[VP:HS#Portallar|Portal 1]]');
        new_template('edit','P2-kriterleri sağlamıyor','{{sil|[[VP:HS#Portallar|Portal 2 - Belirli kriterleri sağlamayan portal]]}}\n','Sil - [[VP:HS#Portallar|Portal 2]]');
 
        new_template('move','standart','[[Vikipedi tartışma:Sayfa adlandırma ve yönlendirme|standart isimlendirme]]');
 
        /* ### edit templates above ### */
        }
 
/* Load script */
addOnloadHook(function() {templatescript(define_templates())});
 
// </source>