[go: nahoru, domu]

Jump to content

User:Aseleste/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Disabling /w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/Blackskin.css&action=raw&ctype=text/css', 'text/css (script-installer)
edit: code: JS: user: +install x1
Line 44: Line 44:
mw.util.addPortletLink('p-cactions', mw.util.getUrl('Special:MovePage/' + mw.config.get('wgPageName')), 'move', 'ca-move', 'Rename this page', 'm', null);
mw.util.addPortletLink('p-cactions', mw.util.getUrl('Special:MovePage/' + mw.config.get('wgPageName')), 'move', 'ca-move', 'Rename this page', 'm', null);
}
}
})
});




/* stylesheet */
/* stylesheet */
mw.loader.load( '/w/index.php?title=User:Anomie/linkclassifier.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Anomie/linkclassifier.css]]
mw.loader.load( '/w/index.php?title=User:Anomie/linkclassifier.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Anomie/linkclassifier.css]]
mw.loader.load( '/w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/All.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Aseleste/Stylesheets/Extensions/Link classifier/All.css]]
//mw.loader.load( '/w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/Blackskin.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Aseleste/Stylesheets/Extensions/Link classifier/Blackskin.css]]
//mw.loader.load( '/w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/Blackskin.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Aseleste/Stylesheets/Extensions/Link classifier/Blackskin.css]]



Revision as of 07:57, 3 June 2021

/* configuration */
// [[MediaWiki:Gadget-popups.js]]
window.popupStructure = 'menus';
window.popupAdminLinks = true;
window.popupTocLinks = true;
window.popupFixRedirs = true;
window.popupRedirAutoClick = 'wpSave';
window.popupFixDabs = true;
window.popupDabsAutoClick = 'wpSave';
window.popupRedlinkRemoval = true;
window.popupRedlinkAutoClick = 'wpSave';
window.popupRevertSummaryPrompt = true;
window.popupReview = true;
window.popupMinorReverts = true;

// [[User:Enterprisey/reply-link.js]]
window.replyLinkCustomSummary = true;

// [[User:Ale jrb/Scripts/csdhelper.js]]
window.notifyByDefaultDel = false; // whether to automatically check the 'notify user' box when changing a speedy deletion rationale
window.notifyByDefaultDec = true; // whether to automatically check the 'notify user' box when declining a speedy deletion
window.notifyByDefaultPrd = true; // whether to automatically check the 'notify user' box when converting a speedy deletion to a PROD
window.notifyByDefaultNew = false; // whether to automatically check the 'use newbie message' box when notifying a user
window.csdhDisplayAlways = true; // whether to show the tab all the time (true) or only when a speedy template is detected (false, default)
window.csdhDoRedirect = true; // whether to redirect after a deletion
window.notifyLimit = 15; // how many revisions to check for the user who tagged the page
// window.notifyTemplate = 'template page name'; // the template to use when posting any notifications
// window.redirectAfterDel = URL [as string]; // the URL to redirect to after deleting a speedy page (default: CSD category)
// window.overwriteDeclineReasons = false; // whether to overwrite the existing decline reasons with the user-provided array (if false, user options will be appended)
// window.myDeclineReasons = new Array(['A', 'A dec reason.'], ['B', 'B dec reason.'], ['C', 'C dec reason.']); // an array of additional decline reasons in the form ['code', 'description']. Separate options with a comma, as shown.
// window.myDeleteReasons = new Array(['A', 'A del reason.'], ['B', 'B del reason.'], ['C', 'C del reason.']); // an array of additional deletion reasons in the form ['code', 'description']. Separate options with a comma, as shown.
// window.myDeclineListing = '%CRITERION% - %REASON%'; // the string to use in the drop-down selection box. Parameters include: %CRITERION% (criterion specified), %REASON% (reason specified).
// window.myDeclineSummary = 'Text - %REASON%'; // the string to use as the edit summary for 'normal' decline cases (invalid criterion). Parameters include: %ACTION% (declined/contested depending on sysop), %CRITERION% (criterion specified), %REASON% (reason specified).
// window.myDeclineSummarySpecial = 'Test - %REASON%'; // the string to use as the edit summary for 'special' decline cases (no criterion provided etc). Parameters include: %ACTION% (declined/contested depending on sysop), %REASON% (reason specified).
window.logOnDecline = true; // whether to log decline actions.
window.logOnDeclinePath = 'User:Aseleste/Logs/CSD decline log'; // where to log decline actions.
// hack to make CSD Helper work
$.when(
		mw.loader.using(['mediawiki.util']),
		$.ready
	).then(function() {
		if (mw.config.get('wgArticleId') !== 0) { // page exists
 			// add portlet move link
 			mw.util.addPortletLink('p-cactions', mw.util.getUrl('Special:MovePage/' + mw.config.get('wgPageName')), 'move', 'ca-move', 'Rename this page', 'm', null);
		}
	});


/* stylesheet */
mw.loader.load( '/w/index.php?title=User:Anomie/linkclassifier.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Anomie/linkclassifier.css]]
mw.loader.load( '/w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/All.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Aseleste/Stylesheets/Extensions/Link classifier/All.css]]
//mw.loader.load( '/w/index.php?title=User:Aseleste/Stylesheets/Extensions/Link_classifier/Blackskin.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: [[User:Aseleste/Stylesheets/Extensions/Link classifier/Blackskin.css]]


/* script */
// this is after the 'stylesheet' section to make the script installer work better
mw.loader.load( '/w/index.php?title=User:Ale_jrb/Scripts/waLib.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Ale jrb/Scripts/waLib.js]]
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]
mw.loader.load( '/w/index.php?title=User:Frietjes/findargdups.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Frietjes/findargdups.js]]
mw.loader.load( '/w/index.php?title=User:GregU/dashes.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:GregU/dashes.js]]
mw.loader.load( '/w/index.php?title=User:Nihiltres/assesslinks.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Nihiltres/assesslinks.js]]
mw.loader.load( '/w/index.php?title=User:Anomie/linkclassifier.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Anomie/linkclassifier.js]]
mw.loader.load( '/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Wugapodes/Capricorn.js]]
mw.loader.load( '/w/index.php?title=User:%CE%A3/Testing_facility/Archiver.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Σ/Testing facility/Archiver.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
mw.loader.load( '/w/index.php?title=User:SD0001/StubSorter.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:SD0001/StubSorter.js]]
mw.loader.load( '/w/index.php?title=User:Enterprisey/cv-revdel.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Enterprisey/cv-revdel.js]]
mw.loader.load( '/w/index.php?title=User:Lourdes/PageCuration.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Lourdes/PageCuration.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/MoveToDraft.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/MoveToDraft.js]]
mw.loader.load( '/w/index.php?title=User:GeneralNotability/spihelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:GeneralNotability/spihelper.js]]
mw.loader.load( '/w/index.php?title=User:Aseleste/Scripts/Purger.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Aseleste/Scripts/Purger.js]]
mw.loader.load( '/w/index.php?title=User:Enterprisey/AFCRHS.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Enterprisey/AFCRHS.js]]
mw.loader.load( '/w/index.php?title=User:Awesome_Aasim/xfdvote.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Awesome Aasim/xfdvote.js]]
mw.loader.load( '/w/index.php?title=User:Enterprisey/delsort.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Enterprisey/delsort.js]]
mw.loader.load( '/w/index.php?title=User:Gracenotes/rollback.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Gracenotes/rollback.js]]
mw.loader.load( '/w/index.php?title=User:Headbomb/unreliable.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Headbomb/unreliable.js]]
mw.loader.load( '/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Enterprisey/reply-link.js]]
mw.loader.load( '/w/index.php?title=User:Writ_Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Writ Keeper/Scripts/commonHistory.js]]
mw.loader.load( '/w/index.php?title=User:BrandonXLF/FFUHelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:BrandonXLF/FFUHelper.js]]
mw.loader.load( '/w/index.php?title=User:DannyS712/SATG.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:DannyS712/SATG.js]]
mw.loader.load( '/w/index.php?title=User:Jackmcbarn/editProtectedHelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
mw.loader.load( '/w/index.php?title=User:DannyS712/DiscussionCloser.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:DannyS712/DiscussionCloser.js]]
mw.loader.load( '/w/index.php?title=User:SD0001/DYK-helper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:SD0001/DYK-helper.js]]
mw.loader.load( '/w/index.php?title=User:Shubinator/DYKcheck.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Shubinator/DYKcheck.js]]
mw.loader.load( '/w/index.php?title=User:DannyS712/EFFPRH.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:DannyS712/EFFPRH.js]]
mw.loader.load( '/w/index.php?title=User:TheTVExpert/rmCloser.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:TheTVExpert/rmCloser.js]]
mw.loader.load( '/w/index.php?title=User:Qwertyytrewqqwerty/DisamAssist.js&action=raw&ctype=text/javascript' ); // Backlink: [[user:Qwertyytrewqqwerty/DisamAssist.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/duplinks-alt.js]]
mw.loader.load( '/w/index.php?title=User:Terasail/COI_Request_Tool.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Terasail/COI Request Tool.js]]
mw.loader.load( '/w/index.php?title=User:Ahecht/Scripts/pageswap.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
mw.loader.load( '/w/index.php?title=User:Plastikspork/massmove.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Plastikspork/massmove.js]]
mw.loader.load( '/w/index.php?title=User:SD0001/deleted-metadata-link.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:SD0001/deleted-metadata-link.js]]
mw.loader.load( '/w/index.php?title=User:SuperHamster/CiteUnseen.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
mw.loader.load( '/w/index.php?title=User:Writ_Keeper/Scripts/peerReviewCloser.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Writ Keeper/Scripts/peerReviewCloser.js]]
mw.loader.load( '/w/index.php?title=User:Ale_jrb/Scripts/csdhelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Ale jrb/Scripts/csdhelper.js]]
mw.loader.load( '/w/index.php?title=User:SD0001/dark-mode-toggle.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:SD0001/dark-mode-toggle.js]]