User:Eddideigel/cologneblue.js

// en:User:Lupin/popupsdev.js - please include this line

document.write(' ');

popupStructure='original';      // show links plainly, not in menus popupAdminLinks=false;          // admin links (block, protect, delete) popupDelay=1.5;                 // hovering time before popups appear popupEditCounterTool='interiot'; // interiot's tool instead of kate's popupFixDabs=true;              // allow fixing of disambiguations popupFixRedirs=true;            // allow fixing of redirects popupRedirAutoClic='wpDiff';    // default action when fixing redirects popupShortcutKeys=false;        // keyboard shortcuts; not be used with IE popupRevertSummaryPrompt=true;   // prompt for a summary when auto-reverting // popupRevertSummary="rv $ to version %s using Popups";               // reversion edit summary; see also below

// certain actions will appear in new windows: popupLinksNewWindow=new Object; popupLinksNewWindow.watch=true; popupLinksNewWindow.unwatch=true; popupLinksNewWindow.edit=true; popupLinksNewWindow.editTalk=true; popupLinksNewWindow.editUserTalk=true; popupLinksNewWindow.count=true; popupLinksNewWindow.contribsTree=true;

//Force edit summary //Adapted by en:User:Mathwiz2020 //function addForceSummary{ //   if(!/[&\?]action=edit/.test(window.location.href)) return; //   if(!document.forms.editform) return; //   document.forms.editform.onsubmit = forceSummary; //} //function forceSummary{ //   var form = document.forms.editform; //   if(form.wpSummary.value.substr(0,5)=="rv $ "){ //     var r = prompt('Please type the reason for your reversion in the box below:',''); //     if(r == null | r == "") { form.wpSummary.value = form.wpSummary.value.replace("$ ", ""); } //     else { form.wpSummary.value = form.wpSummary.value.replace("$", r); } //   } //    return true; //} //window.onload = Main; //function Main //{ // addForceSummary; //}