User:Lily Towers/monobook.js

importScript('User:AzaToth/morebits.js'); importScript('User:AzaToth/twinklefluff.js'); importScript('User:AzaToth/twinklewarn.js'); importScript('User:AzaToth/twinklespeedy.js'); importScript('User:AzaToth/twinklediff.js'); importScript('User:AzaToth/twinkleprotect.js'); importScript('User:AzaToth/twinkleunlink.js'); if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS TwinkleConfig.watchWarnings				=	false; TwinkleConfig.watchRevertedPages			=	[];

// User:Lupin/popups.js

importScript('User:Lupin/popups.js');

popupImages=false; popupDelay=0.0; popupHideDelay=0.0; popupImageLinks=false; imagePopupsForImages=false;

var topaz = new Object; topaz.latestversion = { statuschanger:   20061108, editcountutil:   20061104, enhanceduserpage: 20061107 }; topaz.init = new Object; topaz.init.oldonload = window.onload; window.onload = function { if (typeof topaz.init.oldonload == "function") topaz.init.oldonload; var outdated = []; var highestversion = 0; var versionoverride = topaz.util.cookie.get("topaz.init.versionoverride"); for (mod in topaz.latestversion) { if (topaz[mod]) { if (!topaz[mod].version || topaz[mod].version < topaz.latestversion[mod]) { if (!versionoverride || topaz.latestversion[mod] > versionoverride) { outdated.push({           mod:    mod,            latest: topaz.latestversion[mod],            cur:    (topaz[mod].version?topaz[mod].version:0)          }); }     }      if (topaz.latestversion[mod] > highestversion) { highestversion = topaz.latestversion[mod]; }   }  }  if (outdated.length==0) {return} var noticemessage = 'You seem to be using outdated versions of Topaz\'s Wikiscripts. While you may opt to hide this message until the next major update (or until you clear your cookies), you should strongly consider updating them to take advantage of the new features and bug fixes. In particular, the following scripts could use updating:'; for(var i=0; i " + outdated[i].mod + " version " + outdated[i].cur + " (latest is version " + outdated[i].latest + ")"; } noticemessage += ""; with(topaz.init.noticediv = topaz.util.add(topaz.util.getobj("contentSub"), "div")) { innerHTML = noticemessage; style.color = "#666666"; style.backgroundColor = "#eeeeee"; style.border = "1px solid #cccccc"; style.margin = "5px"; style.padding = "2px"; } // todo: hide button };