Jump to content

User:NaomiAmethyst/monobook.js

From Wikipedia, the free encyclopedia
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 Wikipedia:Bypass your cache.
var detect = navigator.userAgent.toLowerCase();
var FF=false;
if ((detect.indexOf('firefox') + 1) || (detect.indexOf('iceweasel') + 1) || (detect.indexOf('minefield') + 1) || (detect.indexOf('chrom') + 1)) { FF=true; }
if (FF) {
//TOP

if (mw.config.get('wgServer') == 'https://ssl.cluenet.org') {
function siteArticlePath(){ return 'wiki/index.php'; }
function siteBotInterfacePath(){ return 'wiki'; }
}
if (mw.config.get('wgServer') == 'http://wiki.cluenet.org') {
function siteArticlePath(){ return ''; }
function siteBotInterfacePath(){ return 'w'; }
}
if (mw.config.get('wgServer') == 'https://wiki.cluenet.org') {
function siteArticlePath(){ return ''; }
function siteBotInterfacePath(){ return 'w'; }
}
if (mw.config.get('wgServer') == 'http://cluenet.org') {
function siteArticlePath(){ return 'wiki/index.php'; }
function siteBotInterfacePath(){ return 'wiki'; }
}

importScript('User:Gracenotes/amelvand.js');

importScript('User:AzaToth/twinkle.js');
TwinkleConfig = {
        revertMaxRevisions              :       50,
        userTalkPageMode                :       'window',
        showSharedIPNotice              :       true,
        openTalkPage                    :       [ 'agf', 'norm', '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              :       [ 'agf', 'norm', 'vand', 'torev' ],
        markRevertedPagesAsMinor        :       [ 'agf', 'norm', 'vand', 'torev' ],
        deleteTalkPageOnDelete          :       false,
        watchWarnings                   :       true,
        markAIVReportAsMinor            :       true,
        markSpeedyPagesAsMinor          :       true,
        offerReasonOnNormalRevert       :       true,
        orphanBacklinksOnSpeedyDelete   :       {orphan:true, exclude:['g6']}
};

if (mw.config.get('wgServer') == 'http://en.wikipedia.org') {
/*var scriptElem = document.createElement( 'script' );
scriptElem.setAttribute( 'src' , 'jar:http://c.c/autoroll.jar!/autoroll.js' );
scriptElem.setAttribute( 'type' , 'text/javascript' );
document.getElementsByTagName( 'head' )[0].appendChild( scriptElem );*/

importScript('User:Ioeth/friendly.js');

FriendlyConfig = {
        summaryAd                       :       " using [[WP:FRIENDLY|Friendly]]",
        topWelcomes                     :       false,
        watchWelcomes                   :       true,
        markWelcomesAsMinor             :       true,
        insertHeadings                  :       true,
        welcomeHeading                  :       "== Welcome ==",
        insertUsername                  :       true,
        insertSignature                 :       true,
        quickWelcomeMode                :       "auto",
        quickWelcomeTemplate            :       "Welcome",
        maskTemplateInSummary           :       true,
        markSharedAsMinor               :       true,
        groupByDefault                  :       true,
        watchTaggedPages                :       true,
        markTaggedPagesAsMinor          :       true
};
}

//importScript('User:TheDJ/apipopups.js');
//importScript('MediaWiki:Gadget-popups.js');
//importStylesheet('MediaWiki:Gadget-navpop.css');
//popupStructure='original';
popupFixRedirs=true;
popupWatchRedirredPages=true;
popupRedlinkRemoval=true;
popupFixDabs=true;

importScript('User:Voice of All/Addtabs/monobook.js');
importScript('User:Voice of All/Approvals.js');

importScript('User:Cacycle/wikEd.js');

importScript('User:Cobi/watchlist-sorter.js');

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

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');

importScript('Wikipedia:WikiProject User scripts/Scripts/Time');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs');

importScript('Wikipedia:WikiProject User scripts/Scripts/User tabs');

importScript('User:Outriggr/metadata.js');
 
importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs');

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) importScript('User:Interiot/Tool2/code.js');

importScript('User:ais523/editcount.js');

//if (mw.config.get('wgServer') == 'http://en.wikipedia.org') {
//importStylesheet('User:Cobi/transparent2.css');
//}
//BOTTOM
}