Wikipedysta:Maire/monobook.js
Z Wikipedii
Uwaga: po zapisaniu zmian musisz zaktualizować pamięć podręczną (cache) przeglądarki: Mozilla / Firefox: wciśnij Reload (lub CTRL+R), IE / Opera: CTRL+F5, Safari: CMD+R, Konqueror CTRL+R.
// // Oryginalna wersja [[Wikipedia:Narzędzia/Navigation popups|Popups]]: [[:en:User:Lupin/popups.js]] // Proszę zachować powyższe informacje. // // // skrypt z polskim tłumaczeniem i poprawkami drobnymi document.write('<script type="text/javascript" src=" \ http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/popups.pl.js \ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // // Ustawienia popupAdminLinks=true; // optional: enable admin links popupDelay=0.3; popupFixRedirs=true; popupFixDabs=true; popupSummaryData=true; popupLastModified=true; popupImages=false; popupFixDabsSummary="Półautomatyczne ujednoznacznienie linku z [[%s]] na [[%s]] przy pomocy [[:pl:Wikipedia:Tools/Navigation popups|popups]]"; popupRevertSummary="Przywrócenie wersji %s przy pomocy [[:pl:Wikipedia:Tools/Navigation popups|popups]]"; popupFixRedirsSummary="Półautomatyczna zmiana linku ze strony przekierowującej [[%s]] na [[%s]] przy pomocy [[:pl:Wikipedia:Tools/Navigation popups|popups]]"; popupRevertSummaryPrompt=true; // Revert tools by Lorian function getElementsByClass(searchClass,node,tag) { // Function from http://www.dustindiaz.com/getelementsbyclass/ var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)"); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } // _GET code from NoGray JS Library http://www.nogray.com/new_site/ var _GET = new Array(); var _uri = location.href; var _temp_get_arr = _uri.substring(_uri.indexOf('?')+1, _uri.length).split("&"); var _temp_get_arr_1 = new Array(); for(_get_arr_i=0; _get_arr_i<_temp_get_arr.length; _get_arr_i++){ _temp_get_arr_1 = _temp_get_arr[_get_arr_i].split("="); _GET[decodeURI(_temp_get_arr_1[0])] = decodeURI(_temp_get_arr_1[1]); } delete _uri; delete _temp_get_arr; delete _temp_get_arr_1; function getMessage (where, user1, user2) { var message = prompt ('Jaką wiadomość chciałbyś zostawić ?', ''); window.location = 'http://pl.wikipedia.org/w/index.php?title=' + _GET['title'] + '&action=edit&oldid=' + _GET['oldid'] + '&'+where+'=2&user1='+user1+'&user2='+user2+'&message='+message; } addOnloadHook(function (){ if (location.href.match(/diff=/)) { // Get username of submitter var user1h = getElementsByClass('diff-otitle',null,'td'); user1 = user1h[0].getElementsByTagName('a')[2].innerHTML; var user2h = getElementsByClass('diff-ntitle',null,'td'); user2 = user2h[0].getElementsByTagName('a')[3].innerHTML; if (user2 == 'Dyskusja') { user2 = user2h[0].getElementsByTagName('a')[2].innerHTML; } document.getElementById('contentSub').innerHTML = '(<a href="http://pl.wikipedia.org/w/index.php?title=' + _GET['title'] + '&action=edit&oldid=' + _GET['oldid'] + '&revert=1&user1='+user1+'&user2='+user2+'">Revert</a> | <a href="javascript:var message = getMessage(\'revert\', \''+user1+'\', \''+user2+'\');">Powód/Info</a>) (Ostrzeżenia: <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=1">testżart</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=2">test</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=3">test1</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=4">test3</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=5">test4</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=6">testP</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=7">blok</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=8">testNPA</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=9">testNPW</a> | <a href="http://pl.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=10">spam</a>)'; } else if (location.href.match(/revert=1/)) { document.getElementById('wpSummary').value = 'Przywrócono przedostatnią wersję, jej autor to [[Wikipedysta:'+_GET['user1']+'|'+_GET['user1']+']]. Autor wycofanej edycji to [[Specjalna:Contributions/'+_GET['user2']+'|'+_GET['user2']+']]'; document.getElementById('editform').submit(); } else if (location.href.match(/revert=2/)) { document.getElementById('wpSummary').value = 'Przywrócono przedostatnią wersję, jej autor to [[Wikipedysta:'+_GET['user1']+'|'+_GET['user1']+']]. Autor wycofanej edycji to [[Specjalna:Contributions/'+_GET['user2']+'|'+_GET['user2']+']] ('+_GET['message']+')'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=1/)) { document.editform.wpSummary.value = '[[Wikipedia:Wandalizm|Wygłupy]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:testżart}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=2/)) { document.editform.wpSummary.value = 'Nieudana edycja'; document.getElementById('wpTextbox1').value = '{{sub'+'st:test|Maire|~~'+'~~}}'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=3/)) { document.editform.wpSummary.value = '[[Wikipedia:Wikietykieta|Wikietykieta]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:test1}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=4/)) { document.editform.wpSummary.value = '[[Wikipedia:Wandalizm|Wandalizm]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:test3}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=5/)) { document.editform.wpSummary.value = '[[Wikipedia:Wandalizm|Wandalizm]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:test4}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=6/)) { document.editform.wpSummary.value = '[[Wikipedia:Wandalizm|Wandalizm]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:testP}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=7/)) { document.editform.wpSummary.value = '[[Wikipedia:Zasady blokowania|Zostałeś/aś zablokowany/a]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:zablokowany}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=8/)) { document.editform.wpSummary.value = '[[Wikipedia:Prawa autorskie|Prawa autorskie w polskiej Wikipedii]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:testNPA}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=9/)) { document.editform.wpSummary.value = '[[Wikipedia:Neutralny punkt widzenia|Neutralny punkt widzenia]]'; document.getElementById('wpTextbox1').value = '{{sub'+'st:testNPW}} ~~'+'~~'; document.getElementById('editform').submit(); } else if (location.href.match(/warn=0/)) { document.editform.wpSummary.value = '[[Wikipedia:Wandalizm|Wandalizm]] - spam'; document.getElementById('wpTextbox1').value = '{{sub'+'st:spam}} ~~'+'~~'; document.getElementById('editform').submit(); } }); function InsertButtonsToToolBar() { //Ek mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a9/Ek_button.png", "speedTip": "Szablon Ekspresowego Kasowanka", "tagOpen": "{{ek", "tagClose": "}}<br /><br />", "sampleText": ""} //Poczekalnia mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1a/Nuvola_apps_bell.png", "speedTip": "Poczekalnia SDU", "tagOpen": "{{PoczSdU", "tagClose": "}}", "sampleText": ""} //Unistub mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/2c/P_vip.png", "speedTip": "Unistub", "tagOpen": "{{unistub", "tagClose": "}}", "sampleText": "|P vip.png|33|biografia|muzyka"} //Strona zabezpieczona mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/83/Button_encrypted.png", "speedTip": "CZS", "tagOpen": "{{CZS", "tagClose": "}}", "sampleText": ""} //Commons mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f8/Button_Tool_commons.png", "speedTip": "Commons", "tagOpen": "{{Commons", "tagClose": "}}", "sampleText": ""} //Wikiquote mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c1/Button_wikiquote.png", "speedTip": "Cytaty", "tagOpen": "{{Wikiquote", "tagClose": "}}", "sampleText": ""} //Wikiquote mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/eb/Button_wikisource.png", "speedTip": "Źródła", "tagOpen": "{{Wikisource", "tagClose": "}}", "sampleText": ""} //Komentarz mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png", "speedTip": "Dodaj ukryty komentarz", "tagOpen": "<!-- ", "tagClose": " -->", "sampleText": "Komentarz"} //Kod mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png", "speedTip": "<code>", "tagOpen": "<code>", "tagClose": "</code>", "sampleText": "Wstaw tekst"} //Technical font mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/30/Tt_icon.png", "speedTip": "<tt> technical", "tagOpen": "<tt>", "tagClose": "</tt>", "sampleText": "Wstaw tekst"} //Twarda spacja mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/64/Button_nbsp_bold.png", "speedTip": "Twarda spacja", "tagOpen": " ", "tagClose": ";", "sampleText": ""} //Szablon mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/3b/Button_template_alt.png", "speedTip": "Szablon", "tagOpen": "{{", "tagClose": "}}", "sampleText": "Nazwa szablonu"} //Disambig mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/6/62/Button_desambig.png", "speedTip": "Disambig", "tagOpen": "{{", "tagClose": "}}", "sampleText": "disambig"} //SdUz mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/5/5b/Button_check.png", "speedTip": "SdUz", "tagOpen": "{{", "tagClose": "}}", "sampleText": "SdUz"} //SdUu mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e4/Bouton_Vandale3.png", "speedTip": "SdUu", "tagOpen": "{{", "tagClose": "}}", "sampleText": "SdUu"} //SdUb mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/aa/Button_question.png", "speedTip": "SdUb", "tagOpen": "{{", "tagClose": "}}", "sampleText": "SdUb"} //Przekr mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/21/Button_invalid_template.png", "speedTip": "Przekr", "tagOpen": "{{", "tagClose": "}}", "sampleText": "Przekr"} //SdUplus mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png", "speedTip": "SdUplus", "tagOpen": "{{", "tagClose": "}}", "sampleText": "SdUplus"} //SdUbrakwyniku mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png", "speedTip": "SdUbrakwyniku", "tagOpen": "{{", "tagClose": "}}", "sampleText": "SdUbrakwyniku"} //Witaj2 mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e3/Button_bienvenido.png", "speedTip": "Witaj2", "tagOpen": "{{", "tagClose": "}}", "sampleText": "Witaj2|Maire"} //welcome mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b9/Nuvola_apps_edu_languages.png", "speedTip": "welcome", "tagOpen": "{{", "tagClose": "}}", "sampleText": "welcome"} //test mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Zielony_listek.svg/600px-Zielony_listek.svg.png", "speedTip": "test", "tagOpen": "{{", "tagClose": "}}", "sampleText": "test|Maire"} //testStub mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Wiki_puzzle.svg/200px-Wiki_puzzle.svg.png", "speedTip": "testStub", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testStub"} //test1 mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e8/Uw1.png", "speedTip": "test1", "tagOpen": "{{", "tagClose": "}}", "sampleText": "test1"} //test2 mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e7/Uw2.png", "speedTip": "test2", "tagOpen": "{{", "tagClose": "}}", "sampleText": "test2"} //test3 mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/be/Uw3.png", "speedTip": "test3", "tagOpen": "{{", "tagClose": "}}", "sampleText": "test3"} //test5 mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/9d/Button_halt.png", "speedTip": "test5", "tagOpen": "{{", "tagClose": "}}", "sampleText": "test5"} //testG mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/85/RomanG-01.png", "speedTip": "testG", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testG"} //testW mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4a/RomanW-01.png", "speedTip": "testW", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testW"} //testP mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/33/Button_exclamation.png", "speedTip": "testP", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testP"} //testopis mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/89/Exquisite-khelpcenter.png", "speedTip": "testopis", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testopis|Maire"} //testNPA mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b6/Copyright.png", "speedTip": "testNPA", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testNPA"} //testPOV mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/37/Button_no_neutral.png", "speedTip": "testPOV", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testPOV"} //testNPW mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_flamme.png", "speedTip": "testNPW", "tagOpen": "{{", "tagClose": "}}", "sampleText": "testNPW"} //test spam mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/cb/Pulsante_spam.png", "speedTip": "spam", "tagOpen": "{{", "tagClose": "}}", "sampleText": "spam"} //bezpodpisu mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/7a/Nosign.png/40px-Nosign.png", "speedTip": "bezpodpisu", "tagOpen": "{{", "tagClose": "}}", "sampleText": "bezpodpisu"} //dyskusjapodpis mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e2/Nuvola_apps_ksig.png/40px-Nuvola_apps_ksig.png", "speedTip": "dyskusjapodpis", "tagOpen": "{{", "tagClose": "}}", "sampleText": "dyskusjapodpis"} //odpowiedz mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/36/Nuvola_apps_email.png/40px-Nuvola_apps_email.png", "speedTip": "odp", "tagOpen": "{{", "tagClose": "}}", "sampleText": "odp|Maire"} //topopraw mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/f9/RomanP-01.png", "speedTip": "topopraw", "tagOpen": "{{", "tagClose": "}}", "sampleText": "topopraw"} //anonim mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/0/0e/RomanA-01.png", "speedTip": "anonim", "tagOpen": "{{", "tagClose": "}}", "sampleText": "anonim"} } addOnloadHook( InsertButtonsToToolBar ); // Dołączenie skryptu ze strony: [[Wikipedysta:Leafnode/quickedit.js]] document.write('<script type="text/javascript" src=" \ http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Leafnode/quickedit.js \ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Dołączenie skryptu ze strony: [[Wikipedysta:Nux/SearchBox.js]] document.write('<script type="text/javascript" src=" \ http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/SearchBox.js \ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Zakładki na stronie użytkownika function global_add_user_tabs(username) { username = username.substring(username.indexOf(':') + 1); // strip off namespaces like "User:" username = username.replace(/\/.*$/, ''); //removing subpages from the link global_append_tab('http://pl.wikipedia.org/wiki/Specjalna:Wkład/' + username , 'Edycje'); global_append_tab('http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=plwiki_p&user=' + username , 'Licznik'); } // Dołączenie skryptu ze strony: [[Wikipedysta:Beau/dyskusja.js]] document.write('<script type="text/javascript" src="'+ 'http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Beau/dyskusja.js\ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Dołączenie skryptu ze strony: [[MediaWiki:Gadget-delete.js]] document.write('<script type="text/javascript" src="'+ 'http://pl.wikipedia.org/w/index.php?title=MediaWiki:Gadget-delete.js\ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Dołączenie skryptu ze strony: [[Wikipedysta:ChP94/scripts/edithysteria.js]] document.write('<script type="text/javascript" src="'+ 'http://pl.wikipedia.org/w/index.php?title=Wikipedysta:ChP94/scripts/edithysteria.js\ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Dołączenie skryptu ze strony: [[Wikipedysta:ChP94/scripts/quickeditcounter.js]] document.write('<script type="text/javascript" src="'+ 'http://pl.wikipedia.org/w/index.php?title=Wikipedysta:ChP94/scripts/quickeditcounter.js\ &action=raw&ctype=text/javascript&dontcountme=s"></script>'); addOnloadHook(function() { if (wgAction != 'edit' && wgAction != 'editredlink') return; var opisBtns = document.getElementById('userSummaryButtons'); if (! opisBtns) { return; } opisBtns.innerHTML = ''; var kl = ''; //przyciskiDodaj(opisBtns, 'tytuł przycisku', 'dodajOpis("to co się pojawi w opisie")', kl, // 'tutaj zawartość dymka po najechaniu myszką') przyciskiDodaj(opisBtns, 'ort.', 'dodajOpis("ort.")', kl, 'Poprawiono błąd ortograficzny'); przyciskiDodaj(opisBtns, 'int.', 'dodajOpis("int.")', kl, 'Poprawiono interpunkcję'); przyciskiDodaj(opisBtns, 'ogonki', 'dodajOpis("polskie znaki")', kl, 'Poprawa polskich znaków'); // opisBtns.appendChild(document.createTextNode(' ')); // odstęp // drobne około wikizacyjne przyciskiDodaj(opisBtns, 'linki-zew', 'dodajOpis("linki zewnętrzne")', kl, 'Poprawiono/dodano linki zewnętrzne'); przyciskiDodaj(opisBtns, 'linki-popr', 'dodajOpis("linki wewnętrzne")', kl, 'Poprawiono linki wewnętrzne'); przyciskiDodaj(opisBtns, 'interwiki', 'dodajOpis("[[Pomoc:Interwiki|interwiki]]")', kl, 'Poprawiono/dodano linki do innych wersji Wikipedii'); przyciskiDodaj(opisBtns, 'kat.', 'dodajOpis("kat.")', kl, 'Poprawiono/dodano kategorię'); przyciskiDodaj(opisBtns, 'wikizacja', 'dodajOpis("[[Wikipedia:Terminologia#W|wikizacja]]")', kl, 'Wikizacja artykułu (dodanie linków wewnętrznych, podział na sekcje itp.)'); opisBtns.appendChild(document.createTextNode(' ')); // odstęp // drobne około techniczne przyciskiDodaj(opisBtns, 'stub', 'dodajOpis("stub (zalążek)")', kl, 'Ten artykuł to stub'); przyciskiDodaj(opisBtns, 'redir', 'dodajOpis("redir (przekierowanie)")', kl, 'Poprawiono/dodano redirect'); przyciskiDodaj(opisBtns, 'disamb', 'dodajOpis("disambig (ujednoznacznienie)")', kl, 'Poprawiono/dodano stronę ujednoznaczniającą'); przyciskiDodaj(opisBtns, 'grafika', 'dodajOpis("grafika")', kl, 'Poprawiono/dodano grafikę'); przyciskiDodaj(opisBtns, 'szablon', 'dodajOpis("szablon")', kl, 'Poprawiono/dodano szablon'); przyciskiDodaj(opisBtns, 'infobox', 'dodajOpis("infobox")', kl, 'Poprawiono/uzupełnienio/dodano infobox'); opisBtns.appendChild(document.createElement('br')); // nowa linia // drobne inne przyciskiDodaj(opisBtns, 'dr.meryt.', 'dodajOpis("drobne merytoryczne")', kl, 'Drobne zmiany merytoryczne'); przyciskiDodaj(opisBtns, 'dr.red.', 'dodajOpis("drobne redakcyjne")', kl, 'Drobne zmiany redakcyjne'); przyciskiDodaj(opisBtns, 'dr.tech.', 'dodajOpis("drobne techniczne")', kl, 'Drobne zmiany techniczne'); opisBtns.appendChild(document.createTextNode(' ')); // odstęp // do użytkownika i około administracyjne przyciskiDodaj(opisBtns, 'witaj', 'dodajOpis("witaj")', kl, 'Dodano powitanie dla użytkownika'); przyciskiDodaj(opisBtns, 'test', 'dodajOpis("test")', kl, 'Dodano ostrzeżenie dla użytkownika'); przyciskiDodaj(opisBtns, 'czywiesz', 'dodajOpis("informacja o czywieszu")', kl, 'Informacja o czywieszu'); przyciskiDodaj(opisBtns, 'npa', 'dodajOpis("[[WP:NPA|npa]]")', kl, 'Zgłoszono artykuł jako podejrzany o naruszenie praw autorskich'); przyciskiDodaj(opisBtns, 'sdu', 'dodajOpis("[[Wikipedia:Strony do usunięcia|sdu]]")', kl, 'Zgłoszono artykuł do usunięcia'); przyciskiDodaj(opisBtns, 'integracja', 'dodajOpis("integracja (autorzy: [[Wikipedysta:]], [[Wikipedysta:]]...")', kl, 'Integracja artykułu z innym - podaj autorów wklejanego tekstu!'); opisBtns.appendChild(document.createTextNode(' ')); // odstęp // insze do dyskusji i głosowań przyciskiDodaj(opisBtns, 'głos', 'dodajOpis("głos")', kl, 'Oddano głos'); przyciskiDodaj(opisBtns, 'komentarz', 'dodajOpis("komentarz")', kl, 'Dodano komentarz w dyskusji lub do głosu'); przyciskiDodaj(opisBtns, 'skreślenie', 'dodajOpis("skreślenie nieważnego głosu")', kl, 'Skreślenie nieważnego głosu'); przyciskiDodaj(opisBtns, 'licznik', 'dodajOpis("poprawa licznika")', kl, 'Poprawa licznika'); // odstęp przed własnymi opisBtns.appendChild(document.createTextNode(' ')); // odstęp });