For faster navigation, this Iframe is preloading the Wikiwand page for Redaktor:Andrej203/monobook.js.

Redaktor:Andrej203/monobook.js

mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
    "speedTip": "Strike",
    "tagOpen": "<s>",
    "tagClose": "</s>",
    "sampleText": "Strike-through text"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png",
    "speedTip": "Hlasuj Za",
    "tagOpen": "",
    "tagClose": "",
    "sampleText": "#((za)) \~\~\~\~"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png",
    "speedTip": "Hlasuj Proti",
    "tagOpen": "",
    "tagClose": "",
    "sampleText": "#((proti)) \~\~\~\~"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/72/Button_copy_vio_plagio.png",
    "speedTip": "Copyvio",
    "tagOpen": "\x7b\x7bcopyvio|url=",
    "tagClose": "))",
    "sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_plantilla.png",
    "speedTip": "Šablóna",
    "tagOpen": "\x7b\x7b",
    "tagClose": "))",
    "sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/62/Button_desambig.png",
    "speedTip": "Rozlišovacia stránka",
    "tagOpen": "\x7b\x7bRozlišovacia stránka",
    "tagClose": "))",
    "sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png",
    "speedTip": "Zvislá čiara",
    "tagOpen": "|",
    "tagClose": "",
    "sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/ee/Button_vote_biblio.png",
    "speedTip": "Infobox Osobnosť",
    "tagOpen": "\x7b\x7bInfobox Osobnosť"+
"\n  |Meno             = ",
    "tagClose":
"\n  |Portrét          = "+
"\n  |Veľkosť obrázka  = 230px"+
"\n  |Popis            = "+
"\n  |Dátum narodenia  = "+
"\n  |Miesto narodenia = "+
"\n  |Dátum úmrtia     = "+
"\n  |Miesto úmrtia    = "+
"\n))",
    "sampleText": "Janko Hraško"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b0/Button_note.png",
    "speedTip": "Infobox Hudobný umelec",
    "tagOpen": "\x7b\x7bInfobox Hudobný umelec"+
"\n |Meno                = ",
    "tagClose":
"\n |Obrázok             = "+
"\n |Veľkosť obrázku     = "+
"\n |Popis obrázku       = "+
"\n |Popis umelca        = "+
"\n |Rodné meno          = "+
"\n |Umelecké mená       = "+
"\n |Dátum narodenia     = "+
"\n |Miesto narodenia    = "+
"\n |Dátum úmrtia        = "+
"\n |Miesto úmrtia       = "+
"\n |Bydlisko            = "+
"\n |Pôsobenie           = "+
"\n |Žáner               = "+
"\n |Roky pôsobenia      = "+
"\n |Hrá na nástroje     = "+
"\n |Typ hlasu           = "+
"\n |Súvisiace články    = "+
"\n |Vplyvy              = "+
"\n |Hudobný vydavateľ   = "+
"\n |Webstránka          = "+
"\n))",
    "sampleText": "Hudobník"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/46/Topdown1.png",
    "speedTip": "Infobox Hokejista",
    "tagOpen": "\x7b\x7bInfobox Hokejista"+
"\n |Meno           = ",
    "tagClose":
"\n |Portrét        = "+
"\n |Veľkosť obrázku= "+
"\n |Celé meno      = "+
"\n |Štátna príslušnosť  = "+
"\n |Štátna príslušnosť 2= "+
"\n |Dátum narodenia= "+
"\n |Miesto narodenia= "+
"\n |Dátum úmrtia   = "+
"\n |Miesto úmrtia  = "+
"\n |Popis          = "+
"\n |Rok1           = "+
"\n |Rok2           = "+
"\n |Pozícia        = "+
"\n |Streľba        = "+
"\n |Výška          = "+
"\n |Váha           = "+
"\n |Tím            = "+
"\n |Bývalé tímy    = "+
"\n |Draft          = "+
"\n |WHA draft      = "+
"\n |Sieň slávy rok = "+
"\n |Prezývka       = "+
"\n))",
    "sampleText": "Hokejista"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/49/Button_cite_journal.png",
    "speedTip": "Referencie (šablóna)",
    "tagOpen": "",
    "tagClose": "",
    "sampleText": "<ref>((citácia elektronického dokumentu|url=|titul=|vydavateľ=|dátum prístupu=|dátum vydania=|jazyk=))</ref>"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/13/Button_soccer.png",
    "speedTip": "Infobox futbalista",
    "tagOpen": "\x7b\x7bInfobox futbalista"+
"\n  |meno = ",
    "tagClose":
"\n  |celé meno = "+
"\n  |foto = "+
"\n  |prezývka = "+
"\n  |dátum narodenia = ((dátum narodenia a vek|19||))"+
"\n  |rodné mesto = "+
"\n  |štát = "+
"\n  |výška = "+
"\n  |súčasný klub = "+
"\n  |klubové číslo = "+
"\n  |pozícia  = "+
"\n  |mládežnícke roky = "+
"\n  |mládežnícke kluby = "+
"\n  |roky = "+
"\n  |kluby = "+
"\n  |zápasy(góly) = "+
"\n  |reprezentačné roky = "+
"\n  |národné mužstvo = "+
"\n  |reprezentačné zápasy(góly) = "+
"\n  |trénerské roky = "+
"\n  |trénerské kluby = "+
"\n  |pkupdate = "+
"\n  |nmupdate = "+
"\n))",
    "sampleText": ""};

/////////////z polskej wiki prebratý kod na pridavanie textu do zhrnutia uprav
/*
== Automatyczne opisy zmian ==
; Autor (Author): [[:pl:User:Adziura|Adam Dziura]]
; Poprawki (Fixes): [[:pl:User:Nux|Maciej Jaros]]
<pre>
*/
 
function przyciskiOpis()
{
	// stop before starting
	if (window.przyciskiOpisDone)
		return;
 
	//
	// sprawdzenie, czy to jest pole edycji z opisem zmian (nie jest takie jako nagłówek)
	var el = document.getElementById('wpSummaryLabel');
	if (el)
	{
		if (el.innerHTML.indexOf('Zhrnutie úprav')==-1)
			return	// stop
		;
 
	}
	else
	{
		return;	// stop
	}
 
	//
	// dodanie elementu okalającego przyciski bezpośrednio za opisem zmian
	var el = document.getElementById('wpSummary').nextSibling;
	var opisBtns = document.createElement('span');
	opisBtns.id = 'userSummaryButtons'
	el.parentNode.insertBefore(document.createElement('br'), el)
	el.parentNode.insertBefore(opisBtns, el)
 
	//
	// dodawanie przycisków
	//var kl = 'userButtonsStyle';
	var kl = '';	// klasa jest niepotrzebna (wszystkie <a> w #userSummaryButtons ustawione poprzez CSS)
	if (opisBtns)
	{
		// drobne różne
		przyciskiDodaj(opisBtns, 'preklepy', 'dodajOpis("preklepy")', kl,
			'Oprava preklepov');
		przyciskiDodaj(opisBtns, 'infobox', 'dodajOpis("infobox")', kl,
			'Vloženie/úprava infoboxu');
		przyciskiDodaj(opisBtns, 'šablóna', 'dodajOpis("šablóna")', kl,
			'Vloženie/úprava šablóny');
                przyciskiDodaj(opisBtns, 'dnv', 'dodajOpis("dnv")', kl,
			'Vloženie šablóny dnv');
	}
}
 
/*
Parametry:
* elUserBtns - element okalający, do którego dodać przycisk
* pTekst - tekst w środku przycisku
* pAkcja - akcja (w formie tekstowej) jaką wykonać przy naciśnięciu; może być ciągiem poleceń
* pKlasa - klasa jeśli konieczna
* pOpis - opis widoczny w dymku przy przycisku
*/
function przyciskiDodaj(elUserBtns, pTekst, pAkcja, pKlasa, pOpis)
{
	var nowyBtn = document.createElement('a');
 
	// atrybuty
	nowyBtn.appendChild(document.createTextNode(pTekst));
	nowyBtn.title = pOpis;
	if (pKlasa != '')
		nowyBtn.className = pKlasa
	;
	nowyBtn.onclick = new Function(pAkcja);
 
	// dodanie przycisku
	elUserBtns.appendChild(nowyBtn);
}
 
var clickedMinor = false;
function onMinorEditClick()
{
	if (this.checked && !clickedMinor)
	{
		dodajOpis("drobne");
		clickedMinor = true;
	}
}
 
function dodajOpis(opis)
{
	var wpS = document.editform.wpSummary;
	if (wpS.value != '' && wpS.value.charAt(wpS.value.length-2) != '/')
	{
		wpS.value += ', ' + opis
	}
	else
	{
		wpS.value += opis
	}
}
 
$(przyciskiOpis);
{{bottomLinkPreText}} {{bottomLinkText}}
Redaktor:Andrej203/monobook.js
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?