User:Eddideigel/cologneblue.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:Eddideigel/cologneblue.css. |
// [[:en:User:Lupin/popupsdev.js]] - please include this line
document.write('<script type="text/javascript" src="'
+ 'http://nn.wikipedia.org/w/index.php?title=User:Eddideigel/popupsdev.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
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 [[:en:Wikipedia:Tools/Navigation popups|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();
//}