User:Chlod/common.js: Difference between revisions

Content deleted Content added
switch to deputy edition
 
(33 intermediate revisions by the same user not shown)
Line 25:
// === EVERYTHING BELOW THIS POINT WAS WRITTEN BY "Chlod" ===
// I take responsibility for whatever is written below this section, including sublinks.
 
// mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/Deputy.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/Deputy.js]]
if ( window.___location.search.indexOf( '?deputy-isolation=1' ) !== -1 ) {
mw.hook( 'infringementAssistant.preload' ).add( function() {
window.InfringementAssistant.wikiConfig.ia.rootPage.set(new mw.Title("User:Chlod/Scripts/Deputy/tests/Problems"));
} );
mw.hook( 'deputy.preload' ).add( function () {
// Replace resource root to load local development assets
window.deputy.resourceRoot = { type: "url", url: new URL( "http://localhost:45000/" ) };
window.deputy.getWikiConfig().then( function (wikiConfig) {
// Override root pages for testing
wikiConfig.cci.rootPage.set(new mw.Title( 'User:Chlod/Scripts/Deputy/tests' ));
wikiConfig.ia.rootPage.set(new mw.Title("User:Chlod/Scripts/Deputy/tests/Problems"));
} );
} );
}
 
// importScript("User:Chlod/Scripts/RCP-CV Quicklink.js"); // [[User:Chlod/Scripts/RCP-CV Quicklink.js]]
Line 34 ⟶ 50:
importScript("User:Chlod/Scripts/StormCountTally.js"); // [[User:Chlod/Scripts/StormCountTally.js]]
importScript("User:Chlod/Scripts/FoldArchives.js"); // [[User:Chlod/Scripts/FoldArchives.js]]
importScript("User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js"); // [[User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js]]
importScript("User:Chlod/Scripts/Deputy/InfringementAssistant.js"); // [[User:Chlod/Scripts/Deputy/InfringementAssistant.js]]
importScript("User:Chlod/Scripts/Coordinator.js"); // [[User:Chlod/Scripts/Coordinator.js]]
importScript("User:Chlod/Scripts/WordCount.js"); // Backlink: [[User:Chlod/Scripts/WordCount.js]]
Line 43 ⟶ 58:
 
// importScript("User:Chlod/sandbox.js");
mw.loader.load("http://localhost:4500045990/linkThingsSandboxifier.js");
 
// === STYLESHEETS BY OTHER USERS ===
 
// not working
// if (mw.config.get("skin") !== "vector-2022")
// importStylesheet("User:BrandonXLF/FloatHead.css"); // [[User:BrandonXLF/FloatHead]]
 
// === SCRIPTS BY OTHER USERS ===
// use <nowiki>{{lusc|script}}</nowiki>
 
if (window.rw == null) {
// mw.loader.load("http://localhost:45991/ultraviolet.js");
importScript("User:RedWarn/.js"); // [[User:RedWarn/.js]]
importScript("User:10nm/beta.js"); // [[User:10nm/beta.js]]
// importScript("User:RedWarn/.js"); // [[User:RedWarn/.js]]
}
 
// Disabling this on typhoon articles due to the massive page load lag.
Line 70 ⟶ 89:
// importScript("User:Mxn/CommentsInLocalTime.js"); // [[User:Mxn/CommentsInLocalTime.js]]
importScript("User:Mvolz/displayContributions.js"); // [[User:Mvolz/displayContributions.js]]
importScript("User:Anne drew Andrew and Drew/PageDetails.js"); // [[User:Anne drew Andrew and Drew/PageDetails.js]]
importScript("User:Enterprisey/fancy-diffs.js"); // [[User:Enterprisey/fancy-diffs.js]]
importScript("User:Amorymeltzer/userinfo.js"); // [[User:Amorymeltzer/userinfo.js]]
Line 79 ⟶ 98:
importScript("User:Bradv/endlesscontribs.js"); // [[User:Bradv/endlesscontribs.js]]
// importScript("User:Bradv/Scripts/Superlinks.js"); // [[User:Bradv/Scripts/Superlinks.js]]
importScript("User:WugapodesMJL/CapricornArcher.js"); // [[User:WugapodesMJL/CapricornArcher.js]]
importScript("User:Awesome Aasim/noeditredlinks.js"); // [[User:Awesome Aasim/noeditredlinks.js]]
// importScript("User:P999/Toggle VF.js"); // [[User:P999/Toggle VF.js]]
importScript("User:Anomie/unsignedhelper.js"); // [[User:Anomie/unsignedhelper.js]]
importScript("User:Evad37/MoveToDraft.js"); // [[User:Evad37/MoveToDraft.js]]
importScript("User:Terasail/Edit Request Tool.js"); // [[User:Terasail/Edit Request Tool.js]]
importScript("User:Evad37/rater.js"); // [[User:Evad37/rater.js]]
Line 91 ⟶ 109:
importScript("User:DannyS712/DiscussionCloser.js"); // [[User:DannyS712/DiscussionCloser.js]]
importScript("User:Enterprisey/rfa-count-toolbar.js"); // Backlink: [[User:Enterprisey/rfa-count-toolbar.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript("'User:Evad37MPGuy2824/MoveToDraft.js"'); // Backlink: [[User:Evad37MPGuy2824/MoveToDraft.js]]
importScript('User:EnterpriseyBot/delsort.js'); // Backlink: [[User:EnterpriseyBot/delsort.js]]
importScript('User:Nardog/CopyCodeBlock.js'); // Backlink: [[User:Nardog/CopyCodeBlock.js]]
importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); // Backlink: [[User:Novem Linguae/Scripts/DraftCleaner.js]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
importScript('User:DannyS712/copyvio-check.js'); // Backlink: [[User:DannyS712/copyvio-check.js]]
importScript('User:Epicgenius/ArticleQuality.js'); // Backlink: [[User:Epicgenius/ArticleQuality.js]]
importScript('User:SD0001/GAN-helper.js'); // Backlink: [[User:SD0001/GAN-helper.js]]
importScript('User:DannyS712/SATG.js'); // Backlink: [[User:DannyS712/SATG.js]]