This is an old revision of this page, as edited by Dreamy Jazz (talk | contribs) at 22:15, 13 September 2018 (enforcing wikibreak). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 22:15, 13 September 2018 by Dreamy Jazz (talk | contribs) (enforcing wikibreak)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)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 is at User:Dreamy Jazz/common.css. |
/*Display title modifications - __NOINDEX__{{DISPLAYTITLE:User:Dreamy <i style="color:#d01e1e">Jazz</i>/common.js}}*/ $(document).ready(function() { mw.loader.using( [ 'mediawiki.api', 'mediawiki.util', ] ).then( function() { importScript( 'User:Evad37/Watchlist-hideAWB.js' ); // Backlink: ] var awbHiddenByDefault = false; /* Automate purge confirmation dialog */ if ( mw.config.get( 'wgAction' ) === 'purge' ) { $('form').submit(); } importScript( 'User:Evad37/rater.js' ); importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: ] mw.util.addPortletLink ('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+wgPageName+"/"), 'Subpages'); importScript('User:Amalthea/userhighlighter.js'); mw.loader.load( "https://meta.wikimedia.org/search/?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); /*** BEGIN WIKIBREAK ENFORCER ***/ $(document).ready(function() { /*** Start editing here ***/ // When you want to end your break? // no leading zeroes. (example: 9 - correct, 09 - incorrect) var date = { year: 2018, month: 9, day: 28}; var time = { hours: 0, minutes: 0, seconds: 0 }; /*** Stop editing here ***/ var currentDate = new Date(); var enforcedBreakEnd = new Date( date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds); if (currentDate <= enforcedBreakEnd) { alert("Enforced wikibreak until "+enforcedBreakEnd.toLocaleString() + "\n(now is "+currentDate.toLocaleString()+")\n\nBye!"); location = "//"+location.host+"/search/?title=" + "Special:Userlogout&returnto=Main_Page"; } }); /*** END WIKIBREAK ENFORCER ***/ }); });