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.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// 2feb09 move left panel to bottom of page// commented out 19dec2011 importScript('user:js/bottomSidebar.js') //[[user:js/bottomSidebar]]//functiongetUserSpaceWikiLink(page,name){returngetWikiLink('User:'+wgUserName+'/'+page,(name?name:page));}functiongetWikiLink(page,name){return'<a href="'+wgArticlePath.replace(/\$1/,page)+'">'+(name?name:page)+'</a>';}functioninsertUserLink(id,page,name){vartalklink=document.getElementById('pt-mytalk');varnewuserlink=document.createElement('LI');newuserlink.id='pt-'+id;newuserlink.innerHTML=getUserSpaceWikiLink(page,(name?name:page));talklink.parentNode.insertBefore(newuserlink,talklink);}addOnloadHook(function(){insertUserLink('sb1','sb1');insertUserLink('mycss','vector.css','css');insertUserLink('myjs','vector.js','js');});//------------------------------------------------------------------------------------------------------------------// settings for WikiMiniAtlas (globe in coordinates)varwma_settings={enabled:true}//----------------------------------------------------------------------------------------------------------------/* // addPurge - added 2feb09addOnloadHook(function () { var hist; var url; if (!(hist = document.getElementById('ca-history') )) return; if (!(url = hist.getElementsByTagName('a')[0] )) return; if (!(url = url.href )) return; mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), 'purge', 'ca-purge', 'Purge server cache for this page', '0');}); */// /*function unverified() { // Find the edit box var txt = document.editform.wpTextbox1; // The tag to be included is this text: var tag = 'Photographed ------ by me. ˜˜˜˜&cr;&lf;== Licensing ==&cr;&lf;{{GFDL-self-no-disclaimers}}'; // If the edit box doesn't already have this tag... if (txt.value.indexOf('Oosoox') == -1) { // Append the tag txt.value += tag; txt.value += 'extra line'; // Add an edit summary //NO------ document.editform.wpSummary.value = 'Needs a source and copyright tag — see [[Wikipedia:Image copyright tags]]'; // Press the Save page button //NO------ document.editform.submit(); } // If the tag was already there, turn the tab background red to indicate // that the script is functioning properly, but that there is no action // to do. This doesn't interrupt the user's work like an alert() would. else { document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444"; document.getElementById('ca-unverified').style.backgroundColor = "#ff4444"; }}// Create a tab that calls this function when pressedaddOnloadHook(function () { if(document.title.indexOf("Editing Image:") == 0) { mw.util.addPortletLink('p-cactions', 'javascript:unverified()', 'tag', 'ca-unverified', 'Adds a tag to an unverified image', '', ''); }});*/// 11May09 hilite AdminsimportScript('User:Ais523/adminrights.js')//hilight AdminsRetrieved from "http://en.wikipedia.org/wiki/User:Oosoom/monobook.js"Personal tools// 28dec2011 for Vector only - toggle sidebar (adds option to MORE dropdown menu). Try again 5mar2015importScript("User:PleaseStand/hide-vector-sidebar.js");// 7june2012 try faded watchlistimportScript('User:Equazcion/ReverseMarked.js');// 12june2015 live split screen preview in EDIT// [[User:TheDJ/ActualLivePreview.js]]//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheDJ/ActualLivePreview.js&action=raw&ctype=text/javascript');importScript('User:TheDJ/ActualLivePreview.js');// 12june2015importScript("User:PleaseStand/userinfo.js");// 11aug2015/*importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]*//* Disable Mobile view Force Wikipedia to use the desktop version. Google on mobile uses "en.m.wikipedia.org", this scripts redirects to the normal version. CC0*/if(window.location.href.match(/^https?:\/\/[^.]+\.m\./)){vardesktopUrl=$('#mw-mf-display-toggle').attr('href')if(desktopUrl){window.location.href=desktopUrl}}