User:Dinoguy1000/monobook.js
From Wikipedia, the free encyclopedia
If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
//AJAX page preview without reloading whole page qPreviewKey = 'a'; //CTRL+A access key - short for "A"JAX Quick Preview (since 'q' and 'p' are both already mapped) qPreviewAtBottom = true; //put the button below the editbox importScript('User:Alex_Smotrov/qpreview.js'); //Unwatch link next to each entry on watchpage importScript('User:Alex Smotrov/wlunwatch.js'); //Page history tweaks: own edits in light green, fold multi same-user consecutive edits, show size diff instead of size importScript('User:Alex Smotrov/histcomb.js') //Add /* Lead */ automatically if (wgAction=='edit' && document.URL.indexOf('§ion=0') != -1) addOnloadHook(function(){ document.getElementById('wpSummary').value = "/* Lead */ "; }) //IW translate and synchro tools importScript('User:Alex Smotrov/iwiki.js') //Testing new Edittools (see also [[MediaWiki:Edittools]]) importScript('User:Ilmari Karonen/edittoolstest.js'); window.testJsEdittools = true; //Status changer importScript('User:Henrik/js/automod.js');