Misplaced Pages

User:Δ/monobook.js

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Δ
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:Δ/monobook.css.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Misplaced Pages:Bypass your cache.
$.fx.off = true;
if(mw.config.get('wgNamespaceNumber')==0) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/img_removal.py?title=' + encodeURIComponent(mw.config.get('wgPageName')), 'Check files');
if (mw.config.get('wgNamespaceNumber')==0) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/fix_refs?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fr=True', 'Fix Refs');
if (mw.config.get('wgNamespaceNumber')==2) mw.util.addPortletLink('p-cactions', 'http://toolserver.org/~betacommand/cgi-bin/fix_refs?page=' + encodeURIComponent(mw.config.get('wgPageName'))+'&fr=True', 'Fix Refs');
importScript('User:Δ/NFCC alt.js');
$(function() {
   var item = mw.util.addPortletLink('p-cactions','','βsocks','ca-betasocks','Check socks with Betacommand\'s tool','',null);
   var link=item.firstChild;
   link.onclick = function() {
       jsMsg('<form action="http://tools.wikimedia.de/~betacommand/cgi-bin/compare">'+
'<table>' +
'<tr><th>Master<\/th><td><input name="master"><\/td><\/tr>' +
'<tr><th>Socks<\/th><td><input name="socks"><\/td><\/tr>' +
'<tr><th>Key<\/th><td><input name="key"><\/td><\/tr>' +
'<tr><th>Print<\/th><td><input name="Print"><\/td><\/tr>' +
'<tr><td colspan="2"><input type="submit"><\/td><\/tr><\/table>'+'<\/form>','betasocks');
       return false;
   };
});
importScript('User:Δ/Common.js');
importScript('User:Δ/Copyvio Detection Candidates.js');
importScript('User:Δ/Spam.js');         // Blog removal
importScript('User:AWeenieMan/furme.js');
mw.loader.load('https://ru.wikipedia.org/search/?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
// background color of preview box
var previewBackground = '#ffffdd';

// loads the editor
importScript('User:Cacycle/editor.js');

importScript('User:AzaToth/twinkle.js');
if( typeof( TwinkleConfig ) == 'undefined'  ) TwinkleConfig = {};  // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.batchdeleteChunks                         =       50;
TwinkleConfig.batchDeleteMinCutOff                      =       5;
TwinkleConfig.batchMax                                  =       5000;
TwinkleConfig.batchProtectChunks                        =       50;
TwinkleConfig.batchProtectMinCutOff                     =       5;
TwinkleConfig.batchundeleteChunks                       =       50;
TwinkleConfig.batchUndeleteMinCutOff                    =       5;
TwinkleConfig.blankTalkpageOnIndefBlock                 =       false;
TwinkleConfig.defaultWarningGroup                       =       1;
TwinkleConfig.deleteTalkPageOnDelete                    =       false;
TwinkleConfig.deletionSummaryAd                         =       '';
TwinkleConfig.deliChunks                                =       500;
TwinkleConfig.deliMax                                   =       5000;
TwinkleConfig.markAIVReportAsMinor                      =       true;
TwinkleConfig.markSockReportAsMinor                     =       true;
TwinkleConfig.markUAAReportAsMinor                      =       true;
TwinkleConfig.markRevertedPagesAsMinor                  =       ;
TwinkleConfig.markSpeedyPagesAsMinor                    =       false;
TwinkleConfig.markSpeedyPagesAsPatrolled                =       true;
TwinkleConfig.notifyUserOnDeli                          =       false;
TwinkleConfig.notifyUserOnSpeedyDeletionNomination      =       ;
TwinkleConfig.offerReasonOnNormalRevert                 =       false;
TwinkleConfig.openTalkPage                              =       ;
TwinkleConfig.openTalkPageOnAutoRevert                  =       false;
TwinkleConfig.openUserTalkPageOnSpeedyDelete            =       ;
TwinkleConfig.orphanBacklinksOnSpeedyDelete             =       {exclude:, orphan:true};
TwinkleConfig.proddeleteChunks                          =       50;
TwinkleConfig.prodReasonDefault                         =       "";
TwinkleConfig.protectionSummaryAd                       =       '';
TwinkleConfig.revertMaxRevisions                        =       50;
TwinkleConfig.showRollbackLinks                         =       ;
TwinkleConfig.showSharedIPNotice                        =       false;
TwinkleConfig.speedyWindowHeight                        =       500;
TwinkleConfig.speedyWindowWidth                         =       800;
TwinkleConfig.summaryAd                                 =       '';
TwinkleConfig.unlinkNamespaces                          =       ;
TwinkleConfig.userTalkPageMode                          =       'window';
TwinkleConfig.watchProdPages                            =       true;
TwinkleConfig.watchRevertedPages                        =       ;
TwinkleConfig.watchSpeedyPages                          =       ;
TwinkleConfig.watchWarnings                             =       true;
TwinkleConfig.welcomeUserOnSpeedyDeletionNotification   =       TwinkleConfig.notifyUserOnSpeedyDeletionNomination;
TwinkleConfig.xfdWatchDiscussion                        =       "default";
TwinkleConfig.xfdWatchList                              =       "no";
TwinkleConfig.xfdWatchPage                              =       "default";
TwinkleConfig.xfdWatchUsages                            =       "no";
TwinkleConfig.xfdWatchUser                              =       "default";
// Live Preview (], )
wpUserName   = 'Cacycle'; // User name to display in signatures
wpShowImages = true; // Enable downloading and displaying of images
importScript('User:Pilaf/livepreview.js');
window.onload = Main;
// installs the editor and other tools after loading the page
function Main() {
  SetupEditor();
//  othertools();
}


//////////////////////////////////////////
importScript('User:Δ/GeorgeMoney.js');  // GeorgeMoney
importScript('User:Δ/Sandbox.js');      // js sandbox
importScript('User:Quarl/util.js');               // Utility functions
importScript('User:Quarl/wikipage.js');           // WikiPage class
importScript('User:Quarl/wikiedit.js');           // WikiEditor
importScript('User:Quarl/diff.js');               // WikiEditor
importScript('User:Quarl/cookie.js');             // cookie helpers
importScript('User:Quarl/shortcuts.js');          // Shortcuts class


importScript('User:Δ/Personaltoolbox.js');  // Personal toolbox
importScript('User:Cactus.man/Scripts/ChangeTitles.js');     // New personal menu & tab titles
importScript('User:Cactus.man/Scripts/Time.js');             // Add date and time to the personal menu
//************
popupShortcutKeys=true; // optional: enable keyboard shortcuts
popupAdminLinks=true;   // optional: enable admin links 
popupSubpopups=true;
popupFixDabs=true;
popupFixRedits=true;
//END
//************

importScript('User:Gary King/show upload deletion logs.js'); 

// include comfortable javascript editor by cacycle

// levels of undo (each level holds the whole text)
var undoBufferMax = 20;

// text and popup title of summary buttons
var summaryButtons = [
  ,
  ,
  ,
  ,
  ,
  ] and ]']
];

importScript('User:Δ/Addtabs/monobook.js');
// background color of preview box
var previewBackground = '#ffffdd';

// loads the editor
importScript('User:Cacycle/editor.js');

// Live Preview (], )
wpUserName   = 'Cacycle'; // User name to display in signatures
wpShowImages = true; // Enable downloading and displaying of images
importScript('User:Pilaf/livepreview.js');



//
//---------------------------------------------------------------
//Toolbox links
function changelinks() {
    if(!document.getElementById) return;
    document.getElementById('pt-mytalk').firstChild.innerHTML = 'Talk';
    document.getElementById('pt-preferences').firstChild.innerHTML = 'Preferences';
    document.getElementById('pt-watchlist').firstChild.innerHTML = 'Watchlist';
    document.getElementById('pt-mycontris').firstChild.innerHTML = 'Contributions';
    document.getElementById('pt-logout').firstChild.innerHTML = 'Log out';
}
function addtoolboxlinks() {
    var tb = document.getElementById('p-tb').getElementsByTagName('ul');
    addlilink(tb, '/Wikipedia:Categories_for_deletion/Working', 'WP:CFD/W', '');
    addlilink(tb, '/Wikipedia:Bots/Requests for approval', 'WP:B/RFA', '');
    addlilink(tb, '/Wikipedia:Bot_requests', 'Bot Request', '');
    addlilink(tb, '/User_Talk:Δbot', 'ΔBot', '');
    addlilink(tb, '/WP:ANI', 'ANI', '');
    addlilink(tb, '/WP:AN', 'AN', '');

}
//END

window.onload = Main;
// installs the editor and other tools after loading the page
function Main() {
  SetupEditor();
  changelinks();
  addtoolboxlinks();
//  othertools();
}
User:Δ/monobook.js Add topic