User:Dstary/monobook.js

mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

simplePopups=true;

importScript('User:Ilmari_Karonen/watchsince.js','en');

function addTemplatesList_usual{ var block = document.getElementById('editpage-specialchars'); if (!block) return; block.innerHTML = '' +' Шаблоны с подписью ' +'Welcome ' +'Anon ' +'Cv ' +'Nothanks cv ' +' ' + block.innerHTML; } function insertSel(sel){ if (sel.selectedIndex <= 0) return; var insertion = sel.options[sel.selectedIndex].value; document.editform.wpTextbox1.value += '{'+'{' + insertion + '}}' + '--' + '\n'; document.editform.wpSummary.value += insertion; } addOnloadHook(addTemplatesList_usual);

function addTemplatesList_article{ var block = document.getElementById('editpage-specialchars'); if (!block) return; block.innerHTML = '' +' Шаблоны без подписи ' +'Copyvio ' +' Afi ' +' Rq ' +' Notaxobox ' +' Noiwiki ' +' Style ' +' ' + block.innerHTML; } function insertSel2(sel){ if (sel.selectedIndex <= 0) return; var insertion = sel.options[sel.selectedIndex].value; document.editform.wpTextbox1.value += '{'+'{' + insertion + '}}\n'; document.editform.wpSummary.value += insertion; } addOnloadHook(addTemplatesList_article);