Пређи на садржај

Медијавики:Gadget-Poruke.js

Iz Vojne Enciklopedije

Напомена: Пошто објавите измене, можда ћете морати да обришете кеш прегледача како бисте их видели.

  • Firefox / Safari: Држите Shift и кликните на Reload или притисните Ctrl-F5 или Ctrl-R (⌘-R на Mac-у).
  • Google Chrome: Притисните Ctrl-Shift-R (⌘-Shift-R на Mac-у).
  • Edge: Држите Ctrl и кликните на Refresh или притисните Ctrl-F5.
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
	function autoSubmit() { $('#wpSave').click(); }
	pathoschild.TemplateScript.add([
		// Skripte i šabloni:
{category: 'Razgovor', name: 'Komentar', template: '{{komentar}} OVDE_NAPIŠITE_KOMENTAR. ~~~~', position: 'after', editSummary: 'komentar', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829] },
{category: 'Razgovor', name: 'Odgovor', template: '{{odgovor|IME_KORISNIKA}} OVDE_NAPIŠITE_ODGOVOR. ~~~~', position: 'after', editSummary: 'odgovor', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829] },
{category: 'Razgovor', name: 'Redni citat', template: '{{Redni citat|OVDE_UNESITE_CITAT}} OVDE_NAPIŠITE_ODGOVOR. ~~~~', position: 'after', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829] },
{category: 'Razgovor', name: 'Izdvojeni citat', template: '{{Izdvojeni citat|OVDE_UNESITE_CITAT}}\nOVDE_NAPIŠITE_ODGOVOR. ~~~~', position: 'after', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829] },
{category: 'Razgovor', name: 'Za', template: ':{{za}} ~~~~', position: 'after', editSummary: 'za', forNamespaces: 4 },
{category: 'Razgovor', name: 'Protiv', template: ':{{protiv}} ~~~~', position: 'after', editSummary: 'protiv', forNamespaces: 4 },
{category: 'Razgovor', name: 'Urađeno', template: ':{{urađeno}} ~~~~', position: 'after', editSummary: 'urađeno', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829], script: autoSubmit },
{category: 'Razgovor', name: 'Delom urađeno', template: ':{{delimično urađeno}} ~~~~', position: 'after', editSummary: 'delimično urađeno',  forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829], script: autoSubmit },
{category: 'Razgovor', name: 'Nije urađeno', template: ':{{nije urađeno}} ~~~~', position: 'after', editSummary: 'nije urađeno', forNamespaces: [1, 3, 4, 5, 7, 9, 11, 13, 15, 101, 119, 829], script: autoSubmit },

{category: 'Održavanje', name: 'Brzo brisanje ', template: '{{brzo brisanje|OVDE_NAPIŠITE_RAZLOG}}', position: 'before', editSummary: '{{brzo brisanje}}' },
{category: 'Održavanje', name: 'Početnik', template: '{{početnik}}', position: 'before', editSummary: '{{početnik}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Aski', template: '{{aski}}', position: 'before', editSummary: '{{aski}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Mašinski prevod', template: '{{mašinski prevod}}', position: 'before', editSummary: '{{mašinski prevod}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Radovi u toku', template: '{{radovi u toku}}', position: 'before', editSummary: '{{radovi u toku}}', script: autoSubmit },
{category: 'Održavanje', name: 'Neutralnost', template: '{{neutralnost}}', position: 'before', editSummary: '{{neutralnost}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Bez izvora', template: '{{bez izvora}}', position: 'before', editSummary: '{{bez izvora}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Sređivanje', template: '{{sređivanje}}', position: 'before', editSummary: '{{sređivanje}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Ažurirati ', template: '{{ažurirati}}', position: 'before', editSummary: '{{ažurirati}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Nedovoljno veza', template: '{{nedovoljno unutrašnjih veza}}', position: 'before', editSummary: '{{nedovoljno unutrašnjih veza}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Globalizovanje', template: '{{globalizovanje}}', position: 'before', editSummary: '{{globalizovanje}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Orig. istraživanje', template: '{{originalno istraživanje}}', position: 'before', editSummary: '{{originalno istraživanje}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Narativni prezent', template: '{{narativni prezent}}', position: 'before', editSummary: '{{narativni prezent}}', forNamespaces: 0 },
{category: 'Održavanje', name: 'Reklama', template: '{{reklama}}', position: 'before', editSummary: '{{reklama}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Autobiografija', template: '{{autobiografija}}', position: 'before', editSummary: '{{autobiografija}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Razdeliti', template: '{{razdeliti}}', position: 'before', editSummary: '{{razdeliti}}', forNamespaces: 0, script: autoSubmit },
{category: 'Održavanje', name: 'Objediniti', template: '{{objediniti}}', position: 'before', editSummary: '{{objediniti}}', forNamespaces: 0, script: autoSubmit },
////////////////////////////////////////////////////
{category: 'Osnovno', name: 'Dobrodošlica', template: '{{zameni:dobrodošlica}} ~~~~', position: 'after', editSummary: 'dobrodošlica', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Aski-poruka', template: '{{zameni:!ASCII}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!ASCII|!ASCII]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Bez napada', template: '{{zameni:!bez napada}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!bez napada|!bez napada]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Ekijek', template: '{{zameni:!ekijek}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!ekijek|!ekijek]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Kopiranje', template: '{{zameni:!kopiranje}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!kopiranje|!kopiranje]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Nepoznati', template: '{{zameni:nepoznati}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Nepoznati|nepoznati]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Potpisi', template: '{{zameni:!potpisi}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!potpisi|!potpisi]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Početnik-poruka', template: '{{zameni:početnik-poruka}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Početnik-poruka|početnik-poruka]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Pretpregled', template: '{{zameni:pretpregled}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Pretpregled|pretpregled]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Vraćanje', template: '{{zameni:vraćanje}}~~~~', position: 'after', editSummary: '+ [[:Šablon:Vraćanje|vraćanje]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Spam', template: '{{zameni:Spam}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Spam|spam]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Test 1', template: '=={{subst:ucfirst:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}.==\n{{zameni:Test}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Test|test]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Test 2', template: '=={{subst:ucfirst:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}.==\n{{zameni:Test2}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Test2|test2]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Test 3', template: '=={{subst:ucfirst:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}.==\n{{zameni:Test3}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Test3|test3]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Test 4', template: '=={{subst:ucfirst:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}.==\n{{zameni:Test4}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Test5|test4]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Test 5', template: '=={{subst:ucfirst:{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}.==\n{{zameni:Test5}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Test5|test5]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Ćirlat', template: '{{zameni:!ćirlat}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!ćirlat|!ćirlat]]', forNamespaces: 3, script: autoSubmit },
{category: 'Obaveštenja', name: 'Forum', template: '{{zameni:!forum}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:!forum|!forum]]', forNamespaces: 3, script: autoSubmit },

{category: 'Blok', name: 'Blok', template: '==Blok==\n{{Blok|period=|razlog=}}~~~~', position: 'after', editSummary: '+ [[:Šablon:Blok|blok]]', forNamespaces: 3, script: autoSubmit },
{category: 'Blok', name: 'Blok-anon', template: '==Blok==\n{{blok-anon|period=|razlog=}}~~~~', position: 'after', editSummary: '+ [[:Šablon:Blok-anon|blok]]', forNamespaces: 2, script: autoSubmit },
{category: 'Blok', name: 'Blok-neodr', template: '==Blok==\n{{blok-neodređeno|razlog=}}~~~~', position: 'after', editSummary: '+ [[:Šablon:Blok-neodređeno|blok]]', forNamespaces: 2, script: autoSubmit },
{category: 'Blok', name: 'Vlasnik lutka', template: '==Blok==\n{{blokirani vlasnik lutka}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Blokirani vlasnik lutka|blokirani vlasnik lutka]]', forNamespaces: 2, script: autoSubmit },
{category: 'Blok', name: 'Lutak', template: '==Blok==\n{{blokirani lutak}} ~~~~', position: 'after', editSummary: '+ [[:Šablon:Blokirani lutak|blokirani lutak]]', forNamespaces: 2, script: autoSubmit },

{category: 'Nalepnice', name: 'Blokirani korisnik', template: '{{blokirani korisnik}}', position: 'after', editSummary: '+ [[:Šablon:Blokirani korisnik|blokirani korisnik]]', forNamespaces: 2, script: autoSubmit },
{category: 'Nalepnice', name: 'Novi korisnik', template: '{{saveti za novog korisnika}}', position: 'after', editSummary: '+ [[:Šablon:Saveti za novog korisnika|saveti za novog korisnika]]', forNamespaces: 2, script: autoSubmit },
////////////////////////////////////////////////////

	]);
	
});
//</nowiki>