User:Writ Keeper/common.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 is at User:Writ Keeper/common.css. |
bannedPageArray = [];
lazyCheckCUStaleness = false;
maxUsersCUStaleness = 25;
$(document).ready(function ()
{
$(".mw-changeslist-diff").attr("target","_blank");
$("#mw-content-text").on("click","a.new", function(event){
$(this).attr("href", $(this).attr("href").replace("&action=edit", ""));
});
});
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/itsThursday.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/syntaxChecker.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Mdaniels5757/markAdmins.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/g10viewer.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:SD0001/RFUD-helper.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/unmobilePlus.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/markBlocked.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/elRemover.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/peerReviewCloser.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/timezone.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/logoutConfirm.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/sockStaleness.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/deorphanizer.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/topicBanEnforcer.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/cuStaleness.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/simpleBlockDefaults.js&action=raw&ctype=text/javascript");
//mw.loader.load("addPortletLink")
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/blackjack.css&action=raw&ctype=text/css","text/css");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/blackjack.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/historyDeleter.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/historySection.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/massRevdel.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/blockDefaults.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/afcDialog.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/orangeBar.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/autoCloser.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/googleTitle.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/teahouseTalkback.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/teahouseTalkbackLink.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/teahouseReminder.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Equazcion/sysopdetector.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/massProtect.js&action=raw&ctype=text/javascript");
markAsViewed = true;
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Anomie/linkclassifier.js&action=raw&ctype=text/javascript"); // Linkback: [[User:Anomie/linkclassifier.js]]
mw.loader.load('/w/index.php?title=User:Anomie/linkclassifier.css&action=raw&ctype=text/css', 'text/css' ); // Linkback: [[User:Anomie/linkclassifier.css]]
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Ais523/watchlistnotifier.js&action=raw&ctype=text/javascript");
$(document).ready( function()
{
var NSWithoutSubpages = new Array( -1, 6, 8, 12, 13, 14, 15, 104, 105);
if ( $('#p-tb').length > 0 && NSWithoutSubpages.indexOf( mw.config.get("wgNamespaceNumber") ) == -1 )
{
var subpagesLink = '/wiki/Special:PrefixIndex/' + mw.config.get("wgPageName") + '/';
$.when( mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then( function() {
mw.util.addPortletLink( 'p-tb', subpagesLink, 'Subpages', 't-subpages', 'Subpages of this page' );
} );
}
});
$.when( mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then( function() {
if(mw.config.get("wgCanonicalNamespace") === "User" || mw.config.get("wgCanonicalNamespace") === "User_talk")
{
mw.util.addPortletLink( "p-tb", "/wiki/Special:Unblock/" + /[^\/]+/.exec(wgTitle)[0], "Unblock user", "t-unb", "Unblock user", "u", "#t-emailuser");
}
mw.util.addPortletLink('p-personal', '/wiki/User:Writ_Keeper/To_do', 'To-do', 'pt-todo', 'Go to to-do list', null, '#pt-preferences');
} );
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/teahouseUtility.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/deletionFinder.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/refTooltips.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Shubinator/DYKcheck.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/mickopedia.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/watchlistContribs.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Ocaasi/WikiLoveinstallscript.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/rollbackConfirm.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=USer:Writ_Keeper/Scripts/previewAndDiff.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/backlinkWarner.js&action=raw&ctype=text/javascript");
$(".suggestions").attr("tabindex", "-1");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/renameWarner.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/easyBlock.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/searchWatcher.js&action=raw&ctype=text/javascript");
//mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/afcHelperWrapper.js&action=raw&ctype=text/javascript");
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/autoping.js&action=raw&ctype=text/javascript");