User:Dgw/monobook.js
Appearance
< User:Dgw
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:Dgw/monobook.css. |
/* TEST SCRIPT: My script to prompt for an edit summary on clicking a different rollback link */
importScript('User:Voyagerfan5761/rollbacksummary.js');
/*
* Prefixprompt - adds a prefix lookup link to the toolbox which prompts for a prefix
* Defaults to the current page title.
*/
importScript('User:Voyagerfan5761/prefixprompt.js');
/* Formatter */
importScript('Wikipedia:WikiProject_User_scripts/Scripts/Formatter');
/* Inline section editing */
importScript('User:Supadawg/secedit.js');
/* Advisor */
importScript('User:Cameltrader/Advisor.js');
/* HotCat categorization tool */
importScript('User:TheDJ/Gadget-HotCat.js');
/* refTools citation helper */
importScript('User:Mr.Z-man/refToolbar.js');
/* Addtabs from VoiceOfAll */
importScript('User:Voice_of_All/Addtabs/monobook.js');
/* Twinkle from WP:TWINKLE ([[Wikipedia:WikiProject User scripts/Scripts/Twinkle]]) */
importScript('User:AzaToth/twinkle.js');
/* Twinkle configuration */
TwinkleConfig = {
revertMaxRevisions : 50,
userTalkPageMode : 'tab',
showSharedIPNotice : false,
openTalkPage : [ 'vand' ],
openTalkPageOnAutoRevert : false,
openAOLAnonTalkPage : false,
summaryAd : " using [[WP:TWINKLE|TW]]",
deletionSummaryAd : " using [[WP:TWINKLE|TW]]",
protectionSummaryAd : " using [[WP:TWINKLE|TW]]",
watchSpeedyPages : [ 'g3', 'g5', 'g10', 'g11', 'g12' ],
watchProdPages : true,
openUserTalkPageOnSpeedyDelete : [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
watchRevertedPages : [ ],
markRevertedPagesAsMinor : [ ],
deleteTalkPageOnDelete : false,
watchWarnings : false,
markAIVReportAsMinor : false,
markSpeedyPagesAsMinor : true,
offerReasonOnNormalRevert : true,
orphanBacklinksOnSpeedyDelete : {orphan:true, exclude:['g6']}
};
/* Friendly, a tagging interface based on Twinkle's morebits.js */
importScript('User:Ioeth/friendly.js');
/* Config options for Friendly */
FriendlyConfig = {
summaryAd : " using [[WP:FRIENDLY|Friendly]]",
topWelcomes : false,
watchWelcomes : false,
markWelcomesAsMinor : false,
watchTaggedPages : false,
markTaggedPagesAsMinor : true,
insertHeadings : true,
welcomeHeading : "== Welcome to Wikipedia ==",
insertUsername : true,
insertSignature : true,
quickWelcomeMode : "semiauto",
quickWelcomeTemplate : "Welcome",
markSharedAsMinor : true,
groupByDefault : true,
};
/* FurMe, a tool to tag images with Fair Use rationales, also based on morebits.js */
importScript('User:AWeenieMan/furme.js');
/* Config for FurMe */
FurMeConfig = {
actionOnSubmit : 'diff'
};
/* wikEd by Cacycle */
/* Configuration and extra options for wikEd */
var wikEdHighlightSyntaxPreset = true;
var wikEdRegExTypoFix = true;
var wikEdShowSourceButton = true;
var wikEdUseWikEdPreset = false;
var wikEdCloseToolbarPreset = true;
var wikEdRefHidePreset = false;
var wikEdDiffPreset = true;
var wikEdShowUsingButton = true;
var wikEdSummaryUsing = '…using [[User:Cacycle/wikEd|wikEd]]';
var wikEdLoadDiff = true;
// install [[User:Cacycle/wikEd]] in-browser text editor
importScript("User:Cacycle/wikEd.js");
/* Ilmari Karonen's script to unwatch redlinks */
importScript("User:Ilmari Karonen/unwatchredlinks.js");
/* Loads Alex Smotrov's wlunwatch script when the link is clicked */
if (mw.config.get('wgCanonicalSpecialPageName') && mw.config.get('wgCanonicalSpecialPageName')=='Watchlist' && mw.config.get('wgAction')=='view')
$(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);
})
/* Alex Smotrov's History Combiner */
importScript('User:Alex Smotrov/histcomb.js');
/* Henrik's Live Edit Counter
Requires addition of "User:Henrik/ubx/User contrib" to userpage */
importScript('User:Henrik/js/live-edit-counter.js');
/* Lupin's Anti-Vandal Tool */
importScript("User:Lupin/recent2.js");
/* Jnothman's afd helper */
importScript("User:Jnothman/afd_helper/script.js");
/* Interiot's RealTitle Script */
importScript("User:Interiot/js/RealTitle.js");
/* Misza13's Status Switcher Script (modified version) */
importScript('User:Voyagerfan5761/switchstatus.js');
/* Popup Navigation Script */
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
/* Begin Configuration for Popup Navigation Script */
popupStructure='menus';
popupShortcutKeys=true;
popupRedlinkRemoval=true;
popupFixDabs=true;
popupEditCounterTool='custom';
popupEditCounterUrl='http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=$1&site=en.wikipedia.org';
popupRevertSummaryPrompt=true;
popupQueriedRevertSummary="Revert to revision $1 dated $2 by [[Special:Contributions/$3|$3]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]";
popupQueriedRevertToPreviousSummary="Revert to the revision prior to revision $1 dated $2 by [[Special:Contributions/$3|$3]] using [[:en:Wikipedia:Tools/Navigation_popups|popups]]";
popupRedlinkSummary="Removed unnecessary redlink (%s)";
popupFixDabsSummary="Disambiguating link to disambiguation page %s with a link to %s";
popupLazyDownloads=false;
popupLazyPreviews=false;
popupDragHandle="navpopup_maindiv0";
/* End configuration for Popup Navigation Script */
/* VoiceOfAll's contribs stats */
importScript("User:Voice_of_All/History/monobook.js");
/* Ioeth's customized UTC clock */
importScript('User:Ioeth/clock.js');
/* My object-array-fed link text changer
Hat tip to Ioeth for the inspiration */
importScript('User:Voyagerfan5761/changelinks.js');