User:Instinct/monobook.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 can be added at User:Instinct/monobook.css. |
importScript('User:AWeenieMan/furme.js');
importScript('User:Jj137/editsummary.js')
document.write('<script src="'
+ 'http://de.wikipedia.org/w/index.php?title=Benutzer:ASM/quickedit.js'
+ '&action=raw&ctype=text/javascript"></script>');
// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
importScript('User:AzaToth/twinkle.js');
importScript('User:MarkS/extraeditbuttons.js'); //[[User:MarkS/extraeditbuttons.js]]
importScript('User:Ioeth/friendly.js');
importScript('User:Ioeth/friendlywelcome.js');
importScript('User:Lupin/recent2.js');
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:ais523/stubtagtab.js');
importScript('User:Jj137/warn-alt.js');
importScript('User:John254/AFD closure/monobook.js');
importScript('User:Magnus Manske/LinkFixr.js')
importScript('Wikipedia:WikiProject User scripts/Scripts/Autocopyvio.js');
importScript('User:Jnothman/afd_helper/script.js');
importScript('User:Misza13/statusChanger.js');
importScript('User:Ais523/watchlistnotifier.js');
importScript('User:Mr.Z-man/refbuttons.js');
importScript('User:Mr.Z-man/patrollinks.js');
importScript('User:Ais523/topcontrib.js');
importScript('User:Cameltrader/Advisor.js');
importScript('User:Jj137/general.js');
importScript('User:Gracenotes/rollback.js');
importScript('User:Henrik/js/afc-helper.js');
importScript('User:Jj137/typos.js');
importScript('User:DStoykov/defaultsort.js');
importScript('User:Mr.Z-man/refToolbar.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');
// [[User:Henrik/live-edit-counter]]
importScript('User:Henrik/js/live-edit-counter.js');
// Please leave the following line
// [[user:Where/usertabs]]
addOnloadHook(function() {
if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1) //no subpages or history
return;
if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {
var username = encodeURIComponent( wgTitle );
addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");
addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "Edit count", "ca-editcount", "Edit count from Interiot's Tool1");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Blocks received", "ca-blog", "Blocks received by this user");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Prefixindex&from=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&user=" + username, "Blocks given", "", "Blocks by this user");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=protect&user=" + username, "Protections", "", "Protections by this user");
addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=delete&user=" + username, "Deletions", "", "Deletions by this user");
}
});
//
/**** MECU's BR fixer ****/
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Mecu/br.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/* This is to keep track of who is using this extension: [[User:Mecu/br.js]] */
/**** End MECU's BR fixer ****/
importScript('User:Tra/userwatchlist.js'); //[[User:Tra/userwatchlist.js]]
importScript('User:Cacycle/watchlistSorter.js');
// [[User:Pyrospirit/scriptpackage.js]]
/*
This is a collection of JavaScript assembled by [[User:Pyrospirit]]. I haven't written
any of this myself, but I use all of it and find it very useful.
These scripts are designed for use in Firefox and will all work in Firefox. Most of the
scripts won't work in Internet Explorer, and I have no idea what will happen with other
browsers. Solution: get Firefox.
I'm somewhat of a newbie with JavaScript, so please report any problems with these
scripts to whomever wrote the script or ask at [[Wikipedia:Village pump (technical)]].
To decrease loading time, I've set many scripts only to run on certain types of pages.
So, if a script isn't showing up, it might be because you'd almost never use it on the
page you're on anyway.
*/
/*
== Scripts in this area are enabled in all browsers ==
*/
// [[User:Lupin/popups.js]] - navigation popups
if(wgAction!='edit' && wgAction!='submit')
importScript('User:Lupin/popups.js');
// [[User:Jsimlo/shortcuts.js]] - customized sidebar links
importScript('User:Jsimlo/shortcuts.js');
function shortcutsInit ()
{
shortcutsAddLink ( 'Monobook.js', 'Special:Mypage/monobook.js' );
shortcutsAddLink ( 'Monobook.css', 'Special:Mypage/monobook.css' );
shortcutsAddLink ( 'Scripts', 'Wikipedia:WikiProject User scripts/Scripts' );
shortcutsAddLink ( 'wikEd', 'User:Cacycle/wikEd' );
shortcutsAddLink ( 'Twinkle', 'Wikipedia:WikiProject User scripts/Scripts/Twinkle' );
shortcutsAddLink ( 'Friendly', 'Wikipedia:WikiProject User scripts/Scripts/Friendly' );
shortcutsAddLink ( 'New pages', 'Special:Newpages' );
shortcutsAddLink ( 'AIV', 'Wikipedia:Administrator intervention against vandalism' );
shortcutsAddLink ( 'Help desk', 'Wikipedia:Help desk' );
}
// User watchlist from [[User:Tra/userwatchlist.js]]
importScript('User:Tra/userwatchlist.js');
// Logs link in toolbox
if (wgCanonicalNamespace!='User' && wgCanonicalNamespace!='User talk')
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');
// Reformats compare button in history as a link
if (wgAction=='history')
importScript('MediaWiki:WikiProject User scripts/Scripts/Compare link.js');
// Performs basic formatting changes from a tab while editing
if (wgAction=='edit' || wgAction=='submit')
importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');
// Quick previewing button in editing toolbar
if (wgAction=='edit' || wgAction=='submit')
importScript('User:Alex Smotrov/qpreview.js');
// Adds extra edit/hist tabs for both discussion page and article page
importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs');
// Improves formatting of history pages
if (wgAction=='history')
importScript('User:Alex_Smotrov/histcomb.js');
// Edit top link by [[User:Alex Smotrov]]
importScript('User:Alex_Smotrov/edittop.js');
if (wgAction=='edit' && document.URL.indexOf('§ion=0') != -1)
addOnloadHook(function(){
document.getElementById('wpSummary').value = "/* Intro */ ";
})
// Unwatch links next to page names in watchlist from [[User:Alex Smotrov/wlunwatch.js]]
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName=='Watchlist' && wgAction=='view')
addOnloadHook(function () {
var frm = document.getElementsByTagName('form')[0];
frm.parentNode.insertBefore(document.createTextNode(' | '), frm);
var lnk = document.createElement('a');
lnk.appendChild(document.createTextNode('Unwatch…'));
lnk.href = 'javascript:importScript("User:Alex_Smotrov/wlunwatch.js")';
frm.parentNode.insertBefore(lnk, frm);
})
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:S/tags.js');
autosubmit=false;
minoredit=true;
show_cwli=true;
// Box with newest pages in sidebar
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
npp_enabled = false;
npp_num_pages = 10;
npp_refresh = 5;
// Box with recent changes in sidebar
importScript('User:TheJosh/Scripts/RecentChangesPatrol.js');
rcp_enabled = false;
rcp_num_pages = 10;
rcp_refresh = 5;
// Nice formatting for [[Special:Log]]
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName=='Log')
importScript('User:Alex_Smotrov/logpage.js')
/*
== Scripts in this area are disabled in Internet Explorer due to compatibility issues ==
*/
var detect = navigator.userAgent.toLowerCase();
var IE;
var place = detect.indexOf('msie') + 1;
if (place) IE=true;
if (!IE) {
// Twinkle script (reverting, warning, reporting, csd, xfd, prod, rpp)
importScript('User:AzaToth/twinkle.js');
TwinkleConfig = {
revertMaxRevisions : 50,
userTalkPageMode : 'tab',
showSharedIPNotice : true,
openTalkPage : [ 'agf', 'norm', 'vand' ],
openTalkPageOnAutoRevert : true,
openAOLAnonTalkPage : false,
summaryAd : " ([[WP:TW|TW]])",
deletionSummaryAd : " ([[WP:TW|TW]])",
protectionSummaryAd : " ([[WP:TW|TW]])",
watchSpeedyPages : [ ],
watchProdPages : true,
openUserTalkPageOnSpeedyDelete : [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
watchRevertedPages : [ ],
markRevertedPagesAsMinor : [ 'agf', 'norm', 'vand', 'torev' ],
deleteTalkPageOnDelete : false,
watchWarnings : false,
markAIVReportAsMinor : false,
markSpeedyPagesAsMinor : false,
offerReasonOnNormalRevert : true
};
// [[User:Cacycle/wikEd]] in-browser text editor
if (wgAction=='edit' || wgAction=='submit' || wgAction=='diff')
importScript('User:Cacycle/wikEd.js');
// [[WP:FRIENDLY]] script similar to Twinkle (tagging, welcoming)
importScript('User:Ioeth/friendly.js');
FriendlyConfig = {
summaryAd : " ([[WP:FRIENDLY|Friendly]])",
watchWelcomes : false,
markWelcomesAsMinor : false,
watchTaggedPages : false,
markTaggedPagesAsMinor : true,
insertHeadings : true,
welcomeHeading : "== Welcome ==",
insertUsername : true,
insertSignature : true
};
// [[User:Voice of All]]'s helper JavaScript
importScript('User:Voice of All/Addtabs/monobook.js');
// Some history-related script from VoA
importScript('User:Voice of All/History/monobook.js');
// [[User:Lupin/recent2.js]] anti-vandalism script
importScript('User:Lupin/recent2.js');
}
importScript('User:Outriggr/metadatatest.js');
assessmentMyTemplateCode = ["{{WikiProject Baseball|class=|importance=}}", "{{WikiProject Boston Red Sox|class=|importance=}}", "{{WikiProject Biography|class=|importance=}}"];
assessmentDefaultProject = "WikiProject Baseball";
var iwDisplayMode = 1
importScript('User:Alex Smotrov/iwiki.js')
importScript('user:js/watchlist.js')
importScript('User:Gary King/localize comments.js')