User:Novem Linguae/common.js
Appearance
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:Novem Linguae/common.css. |
mw.loader.using('mediawiki.storage').then(function () {
mw.storage.session.set( 'client-error-opt-out', '1' );
});
/* Override annoying purge dialog */
if ( mw.config.get( 'wgAction' ) === 'purge' ) {
$('form.mw-htmlform').submit();
}
window.citeHighlighterHighlightEverything = true;
window.replyLinkCustomSummary = true;
window.NPPLinksSameTab = true;
window.responseHelperNavLinks = false; // User:MusikAnimal/responseHelper.js
window.SHOW_USER_GENDER = {
male: '♂',
female: '♀',
unknown: '☉'
};
window.TitleCaseConverterUnitTests = true;
// Add Dab Solver launcher in the toolbox on left
$(function () {
mw.util.addPortletLink(
"p-tb",
"http://69.142.160.183/~dispenser/cgi-bin/dab_solver.py?page="+mw.config.get('wgContentLanguage')+":"+encodeURIComponent(mw.config.get('wgPageName')),
"Dab Solver"
);
});
mw.cookie.set('discussiontools-tempenable', null); // fix bug where discussionTools won't turn off
mw.loader.load('http://127.0.0.1/Code/wikipedia-scripts/User scripts/sandbox-enwiki.js');
/*
// Dev version of XFDcloser
var xfdcDevUrl = "http://localhost:8125/dist/loader-dev.js";
mw.loader.getScript(xfdcDevUrl).catch(function(e) {
e.message += " " + xfdcDevUrl;
console.error(e);
});
*/
window.afchSuppressDevEdits = false;
// mw.loader.load('http://localhost:4444'); // afch dev
importScript('meta:User:Jon_Harald_Søby/diffedit.js');
importScript('User:Ahecht/Scripts/massmove.js');
importScript('User:Alexis Jazz/LuckyRename.js');
importScript('User:Ale_jrb/Scripts/csdhelper.js');
importScript('User:Andrybak/Archiver.js');
importScript('User:Anne drew/SetupAutoArchive.js');
importScript('User:Anomie/previewtemplatelastmod.js');
importScript('User:Anomie/unsignedhelper.js');
importScript('User:Awesome Aasim/xfdvote.js');
importScript('User:Beetstra/Gadget-Spam-whitelist-Handler.js');
importScript('User:Bradv/Scripts/WhatLinksHereSnippets.js');
importScript('User:BrandonXLF/CitationStyleMarker.js');
importScript('User:BrandonXLF/HotDefaultSort.js');
importScript('User:BrandonXLF/RedirectNotification.js');
importScript('User:BrandonXLF/ShowUserGender.js');
importScript('User:CFA/scripts/attributetranslation.js');
importScript('User:DannyS712/copyvio-check.js');
importScript('User:DannyS712/copyvio-check.js');
importScript('User:DannyS712/Draft no cat.js');
importScript('User:DannyS712/EFFPRH/sandbox.js');
importScript('User:DannyS712/SATG.js');
importScript('User:DannyS712/VueNPP.js');
//importScript('User:DaxServer/DiscussionCloser.js');
importScript('User:Eejit43/scripts/pageswap.js');
importScript('User:Eejit43/scripts/rmtr-helper.js');
importScript('User:Elli/OneClickArchiver.js');
importScript('User:Enterprisey/AFCRHS.js');
importScript('User:Enterprisey/cv-revdel.js');
importScript('User:Enterprisey/delsort.js');
importScript('User:Enterprisey/diff-permalink.js');
importScript('User:Enterprisey/easy-brfa.js');
importScript('User:Enterprisey/offset-history-link.js');
importScript('User:Enterprisey/rfa-count-toolbar.js');
importScript('User:Novem Linguae/Scripts/UnblockReview.js');
importScript('User:Enterprisey/undo-last-edit.js');
importScript('User:Evad37/duplinks-alt.js');
importScript('User:Evad37/rater.js');
importScript('User:Evad37/WikiUnit.js');
importScript('User:GeneralNotability/mark-locked.js');
importScript('User:GeneralNotability/spihelper.js');
importScript('User:GorillaWarfare/script/curlies.js');
importScript('User:Guywan/Scripts/BulletSort.js');
importScript('User:Ingenuity/AbuseFilterContribs.js');
// importScript('User:Jonesey95/refill.js'); // calls the refill API on almost every page. if refill is timing out, causes AJAX timeouts in my Wikipedia tabs too
importScript('User:JPxG/current-switcher.js');
importScript('User:Kaniivel/RefConsolidate_start.js');
importScript('User:Kephir/gadgets/table-editor.js');
importScript('User:MPGuy2824/MoveToDraft.js');
importScript('User:MusikAnimal/responseHelper.js');
importScript('User:MusikAnimal/userRightsManager.js');
importScript('User:Nardog/MoveHistory.js');
importScript('User:Nardog/PasteToCommons.js');
importScript('User:Novem Linguae/Scripts/AddTaxobox.js');
importScript('User:Novem Linguae/Scripts/anrfc-lister.js');
importScript('User:Novem Linguae/Scripts/CWWEditSummary.js');
importScript('User:Novem Linguae/Scripts/DetectG4G5.js');
importScript('User:Novem Linguae/Scripts/DetectPromo.js');
importScript('User:Novem Linguae/Scripts/DetectSNG.js');
importScript('User:Novem Linguae/Scripts/DontForgetG12.js');
importScript('User:Novem Linguae/Scripts/DraftCleaner.js');
importScript('User:Novem Linguae/Scripts/EditRequestReadFAQ.js');
importScript('User:Novem Linguae/Scripts/FFUHelper.js');
importScript('User:Novem Linguae/Scripts/GANReviewTool.js');
importScript('User:Novem Linguae/Scripts/MarkFreeUseRationale.js');
importScript('User:Novem Linguae/Scripts/NPPLinks.js');
importScript('User:Novem Linguae/Scripts/PreviousNames.js');
importScript('User:Novem Linguae/Scripts/PurgeButton.js');
importScript('User:Novem Linguae/Scripts/ReviewStatus.js');
importScript('User:Novem Linguae/Scripts/ShowAdminMessages.js');
importScript('User:Novem Linguae/Scripts/SpecialNewPagesFeedBetaTestLink.js');
importScript('User:Novem Linguae/Scripts/TemplateTaxonomyAddCite.js');
importScript('User:Novem Linguae/Scripts/Titlecaseconverter.js');
importScript('User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js');
importScript('User:Novem Linguae/Scripts/WatchlistAFD.js');
importScript('User:Novem_Linguae/Scripts/RequestedArticleSifter.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js');
importScript('User:PerfektesChaos/js/lintHint/r.js');
importScript('User:Pythoncoder/Scripts/voteSymbols.js');
importScript('user:Qwertyytrewqqwerty/DisamAssist.js');
importScript('User:SD0001/DYK-helper.js');
importScript('User:SD0001/GAN-helper.js');
importScript('User:SD0001/GAR-helper.js');
importScript('User:SD0001/RFUD-helper.js');
importScript('User:SD0001/StubSorter.js');
importScript('User:Shubinator/DYKcheck.js');
importScript('User:Sohom_Datta/PageTriageUserspaceLogger.js');
importScript('User:Suffusion of Yellow/filter-highlighter.js');
importScript('User:Suffusion of Yellow/filterDiff.js');
importScript('User:Suffusion of Yellow/filterNotes.js');
importScript('User:Suffusion of Yellow/filterTest.js');
importScript('User:Terasail/COI Request Tool.js');
importScript('User:Terasail/Edit Request Tool.js');
importScript('User:The Earwig/revdel-responder.js');
importScript('user:theleekycauldron/DYK promoter.js');
importScript('User:TheresNoTime/Scripts/CT-Helper.js');
importScript('User:TheTVExpert/rmCloser.js');
importScript('User:Writ Keeper/Scripts/deletionFinder.js');
importScript('User:Writ Keeper/Scripts/massRollback.js');
importScript('User:Þjarkur/Highlight homographs in title.js');
importScript('wikt:User:Erutuon/scripts/gadgets-definition.js');
importScript('User:Novem Linguae/Scripts/BlockedUserHistory.js'); // Backlink: [[User:Novem Linguae/Scripts/BlockedUserHistory.js]]
// importScript('User:DaxServer/DiscussionCloser-new.js'); // Backlink: [[User:DaxServer/DiscussionCloser-new.js]]
// importScript('User:Harej/citation-watchlist.js'); // Backlink: [[User:Harej/citation-watchlist.js]] - buggy on user talk history pages. spams 400 API queries and puts 400 exclamation marks on the page
// importScript( 'meta:User:Diegodlh/search-wpl.js' ); // search wikipedia library. disabled because it shifts things after first paint on every load, causing misclicks
importScript('User:Ingenuity/quick-block.js'); // Backlink: [[User:Ingenuity/quick-block.js]]
//importScript('User:Novem Linguae/Scripts/rfa-count-toolbar.js'); // Backlink: [[User:Novem Linguae/Scripts/rfa-count-toolbar.js]]
// importScript('User:Vanderwaalforces/checkTranslationAttribution.js'); // Backlink: [[User:Vanderwaalforces/checkTranslationAttribution.js]] // too many false positives