User:Jlwoodwa/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:Jlwoodwa/common.css. |
// Enable caching for resource loads, see [[User:SD0001/Making_user_scripts_load_faster]], @revision 7
// if(!/\bnocache=\b/.test(location.href)){let e=mw.config.values,t="text/javascript",r="text/css",n=(n,o,i)=>(n=n.replace(/special:mypage/i,"User:"+e.wgUserName),$.get("https://"+o+"/w/api.php?titles="+n+"&origin=*&format=json&formatversion=2&uselang=content&maxage=86400&smaxage=86400&action=query&prop=revisions|info&rvprop=content&rvlimit=1&inprop=protection").then(e=>{let a=e.query.pages[0];if(!a.missing){if(2!==a.ns&&8!==a.ns&&!a.protection.find(e=>"edit"===e.type&&"sysop"===e.level))return $.Deferred().reject('Refused to load "'+n+'"@'+o+": unprotected page");let l=a.revisions[0].content;if(i&&i!==t||"javascript"!==a.contentmodel){if(i!==r||"css"!==a.contentmodel)return $.Deferred().reject('Refused to load "'+n+'"@'+o+": content type mismatch");mw.loader.addStyleTag(l)}else document.head.appendChild(document.createElement("script")).innerHTML=l}})),o=e.wgServerName,i=e=>{let t=/^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(e),r=/\btitle=([^=?&]*)/.exec(e);return t&&r&&/\baction=raw\b/.test(e)&&/\bctype=/.test(e)?[r[1],t[1]||o]:null};window.importScript=e=>{n(encodeURIComponent(e),o,t)},window.importStyleSheet=e=>{n(encodeURIComponent(e),o,r)};let a=mw.loader.load;mw.loader.load=function(e,t){let r=i(e);r?n(r[0],r[1],t):a.apply(mw.loader,[...arguments])};let l=mw.loader.getScript;mw.loader.getScript=function(e){let r=i(e);return r?n(r[0],r[1],t):l.apply(mw.loader,[...arguments])}}
window.hotcat_use_category_links = true;
//importScript('User:Pythoncoder/Scripts/voteSymbols.js'); // Backlink: [[User:Pythoncoder/Scripts/voteSymbols.js]]
//importScript('User:Ahecht/Scripts/TemplateSearch.js'); // Backlink: [[User:Ahecht/Scripts/TemplateSearch.js]]
//importScript('User:ZLEA/Dashboard.js'); // Backlink: [[User:ZLEA/Dashboard.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:EpochFail/ArticleQuality.js'); // Backlink: [[User:EpochFail/ArticleQuality.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript('User:Enterprisey/delsort.js'); // Backlink: [[User:Enterprisey/delsort.js]]
//importScript('User:Nardog/Unpipe.js'); // Backlink: [[User:Nardog/Unpipe.js]]
importScript('User:Nardog/CopySectLink.js'); // Backlink: [[User:Nardog/CopySectLink.js]]
importScript('User:Nardog/CatChangesViewer.js'); // Backlink: [[User:Nardog/CatChangesViewer.js]]
//importScript('User:Bellezzasolo/Scripts/arb.js'); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
//importScript('User:Nardog/AutoSectionLink.js'); // Backlink: [[User:Nardog/AutoSectionLink.js]]
//importScript('User:Ohconfucius/dashes.js'); // Backlink: [[User:Ohconfucius/dashes.js]]
//importScript('User:Evad37/duplinks-alt.js'); // Backlink: [[User:Evad37/duplinks-alt.js]]
//importScript('User:Guarapiranga/WhatRedirectsHere.js'); // Backlink: [[User:Guarapiranga/WhatRedirectsHere.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
//importScript('User:Ahecht/Scripts/draft-sorter.js'); // Backlink: [[User:Ahecht/Scripts/draft-sorter.js]]
importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
importScript('User:Andrybak/Scripts/Unsigned_helper.js'); // Backlink: [[User:Andrybak/Scripts/Unsigned_helper.js]]
importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: [[User:Eejit43/scripts/redirect-helper.js]]
//importScript('User:Enterprisey/req-helper.js'); // Backlink: [[User:Enterprisey/req-helper.js]]
importScript('User:SD0001/deleted-metadata-link.js'); // Backlink: [[User:SD0001/deleted-metadata-link.js]]
//importScript('User:SD0001/np-shortcuts.js'); // Backlink: [[User:SD0001/np-shortcuts.js]]
importScript('User:SD0001/UnassessedArticleLinks.js'); // Backlink: [[User:SD0001/UnassessedArticleLinks.js]]
//importScript('User:GeneralNotability/mark-locked.js'); // Backlink: [[User:GeneralNotability/mark-locked.js]]
importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js'); // Backlink: [[User:Novem_Linguae/Scripts/CiteHighlighter.js]]
importScript('User:Novem_Linguae/Scripts/UserHighlighterSimple.js'); // Backlink: [[User:Novem_Linguae/Scripts/UserHighlighterSimple.js]]
importScript('User:Novem_Linguae/Scripts/DetectSNG.js'); // Backlink: [[User:Novem_Linguae/Scripts/DetectSNG.js]]
//importScript('User:Novem Linguae/Scripts/UserRightsDiff.js'); // Backlink: [[User:Novem Linguae/Scripts/UserRightsDiff.js]]
importScript('User:Novem_Linguae/Scripts/ReviewStatus.js'); // Backlink: [[User:Novem_Linguae/Scripts/ReviewStatus.js]]
importScript('User:Novem Linguae/Scripts/WatchlistAFD.js'); // Backlink: [[User:Novem Linguae/Scripts/WatchlistAFD.js]]
//importScript('User:Novem Linguae/Scripts/DetectPromo.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectPromo.js]]
//importScript('User:Novem Linguae/Scripts/DetectG4G5.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectG4G5.js]]
importScript('User:Novem Linguae/Scripts/DontForgetG12.js'); // Backlink: [[User:Novem Linguae/Scripts/DontForgetG12.js]]
importScript('User:Novem Linguae/Scripts/ShowAdminMessages.js'); // Backlink: [[User:Novem Linguae/Scripts/ShowAdminMessages.js]]
//importScript('User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js'); // Backlink: [[User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js]]
//importScript('User:CanonNi/Scripts/AlertAssistant.js'); // Backlink: [[User:CanonNi/Scripts/AlertAssistant.js]]
importScript('User:Novem_Linguae/Scripts/SpeciesHelper.js'); // Backlink: [[User:Novem_Linguae/Scripts/SpeciesHelper.js]]
//importScript('User:DreamRimmer/BlankUserPage.js'); // Backlink: [[User:DreamRimmer/BlankUserPage.js]]
//importScript('User:Frietjes/findargdups.js'); // Backlink: [[User:Frietjes/findargdups.js]]
importScript('User:Shubinator/DYKcheck.js'); // Backlink: [[User:Shubinator/DYKcheck.js]]
importScript('User:Frietjes/masspurge.js'); // Backlink: [[User:Frietjes/masspurge.js]]
importScript('User:Aaron_Liu/MoveTop.js'); // Backlink: [[User:Aaron_Liu/MoveTop.js]]
//autoDuplinks=true;
//importScript('User:Aaron Liu/duplinks.js'); // Backlink: [[User:Aaron Liu/duplinks.js]]
//importScript('User:Enterprisey/user-tabs-on-contribs.js'); // Backlink: [[User:Enterprisey/user-tabs-on-contribs.js]]
importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); // Backlink: [[User:Novem Linguae/Scripts/DraftCleaner.js]]
importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Backlink: [[User:Mr. Stradivarius/gadgets/Draftify.js]]
//importScript('User:DannyS712/Red_files.js'); // Backlink: [[User:DannyS712/Red_files.js]]
//importScript('User:DannyS712/deOrphan.js'); // Backlink: [[User:DannyS712/deOrphan.js]]
//importScript('User:DannyS712/Logs.js'); // Backlink: [[User:DannyS712/Logs.js]]
importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Backlink: [[User:Writ Keeper/Scripts/deletionFinder.js]]
importScript('User:Ahecht/Scripts/refresh.js'); // Backlink: [[User:Ahecht/Scripts/refresh.js]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
//importScript('User:William_Avery/taxoboxalyzer.js'); // Backlink: [[User:William_Avery/taxoboxalyzer.js]]
importScript('User:Theleekycauldron/DYK promoter.js'); // Backlink: [[User:Theleekycauldron/DYK promoter.js]]
//importScript('User:Eejit43/scripts/afcrc-helper.js'); // Backlink: [[User:Eejit43/scripts/afcrc-helper.js]]
//importScript('User:Polygnotus/DuplicateReferences.js'); // Backlink: [[User:Polygnotus/DuplicateReferences.js]]
importScript('User:Dschwen/MegapixelDisplay.js'); // Backlink: [[User:Dschwen/MegapixelDisplay.js]]
importScript('User:Nardog/MoveHistory.js'); // Backlink: [[User:Nardog/MoveHistory.js]]
//importScript('User:Nardog/SmartDiff.js'); // Backlink: [[User:Nardog/SmartDiff.js]]
importScript('User:Nardog/SortCentralAuthByEditCount.js'); // Backlink: [[User:Nardog/SortCentralAuthByEditCount.js]]
//importScript('User:SD0001/shortdescs-in-category.js'); // Backlink: [[User:SD0001/shortdescs-in-category.js]]
//importScript('User:Þjarkur/NeverUseMobileVersion.js'); // Backlink: [[User:Þjarkur/NeverUseMobileVersion.js]]
importScript('User:Terasail/Edit_Request_Tool.js'); // Backlink: [[User:Terasail/Edit_Request_Tool.js]]
//importScript('User:Schminnte/PageCuration.js'); // Backlink: [[User:Schminnte/PageCuration.js]]
importScript('User:BilledMammal/MovePlus.js'); // Backlink: [[User:BilledMammal/MovePlus.js]]
importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript('User:Eejit43/scripts/rmtr-helper.js'); // Backlink: [[User:Eejit43/scripts/rmtr-helper.js]]
//importScript('User:Mdaniels5757/markAdmins.js'); // Backlink: [[User:Mdaniels5757/markAdmins.js]]
//window.markAdminCfg = {
// groups: {
// 'abusefilter': { enabled: true },
// 'abusefilter-helper': { enabled: true },
// 'accountcreator': { enabled: true },
// 'autoreviewer': { enabled: true },
// 'extendedmover': { enabled: true },
// 'filemover': { enabled: true },
// 'massmessage-sender': { enabled: true },
// 'templateeditor': { enabled: true },
// 'vrt-permissions': { enabled: true },
// 'patroller': { enabled: true },
// 'reviewer': { enabled: true },
// 'rollbacker': { enabled: true },
// }
//};
//importScript('User:Novem_Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem_Linguae/Scripts/GANReviewTool.js]]
//importScript('User:10nm/beta.js'); // Backlink: [[User:10nm/beta.js]]
//importScript('User:Cobaltcigs/IllWill.js'); // Backlink: [[User:Cobaltcigs/IllWill.js]]
//importScript('User:Tollens/subnetContribs.js'); // Backlink: [[User:Tollens/subnetContribs.js]]
//importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ Keeper/Scripts/massRollback.js]]
//importScript('User:Novem_Linguae/Scripts/NPPLinks.js'); // Backlink: [[User:Novem_Linguae/Scripts/NPPLinks.js]]
//importScript('User:BrandonXLF/ShowUserGender.js'); // Backlink: [[User:BrandonXLF/ShowUserGender.js]]
importScript('User:Vanderwaalforces/checkTranslationAttribution.js'); // Backlink: [[User:Vanderwaalforces/checkTranslationAttribution.js]]
importScript('User:CFA/scripts/attributetranslation.js'); // Backlink: [[User:CFA/scripts/attributetranslation.js]]
//importScript('User:Theleekycauldron/DYK_promoter.js'); // Backlink: [[User:Theleekycauldron/DYK_promoter.js]]
//importScript('User:Terasail/COI_Request_Tool.js'); // Backlink: [[User:Terasail/COI_Request_Tool.js]]
importScript('User:BrandonXLF/SVGEditor.js'); // Backlink: [[User:BrandonXLF/SVGEditor.js]]
//importScript('User:BrownHairedGirl/BareURLinline.js'); // Backlink: [[User:BrownHairedGirl/BareURLinline.js]]
//importScript('User:BrownHairedGirl/linkrot.js'); // Backlink: [[User:BrownHairedGirl/linkrot.js]]
importScript('User:DreamRimmer/EFFPRH.js'); // Backlink: [[User:DreamRimmer/EFFPRH.js]]
importScript('User:Daniel Quinlan/Scripts/FindRangeBlocks.js'); // Backlink: [[User:Daniel Quinlan/Scripts/FindRangeBlocks.js]]
//importScript('User:Qwerfjkl/scripts/massXFD.js'); // Backlink: [[User:Qwerfjkl/scripts/massXFD.js]]
importScript('User:IagoQnsi/ipareader.js'); // Backlink: [[User:IagoQnsi/ipareader.js]]
importScript('User:Eejit43/scripts/null-edit.js'); // Backlink: [[User:Eejit43/scripts/null-edit.js]]
importScript('User:DannyS712/Draft re cat.js'); // Backlink: [[User:DannyS712/Draft re cat.js]]
importScript('User:JJPMaster/SuppressRedirect.js'); // Backlink: [[User:JJPMaster/SuppressRedirect.js]]
importScript('User:Sohom Datta/PageTriageUserspaceLogger.js'); // Backlink: [[User:Sohom Datta/PageTriageUserspaceLogger.js]]
importScript('User:Ale jrb/Scripts/csdhelper.js'); // Backlink: [[User:Ale jrb/Scripts/csdhelper.js]]
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Lingzhi2/reviewsourcecheck.js'); // Backlink: [[User:Lingzhi2/reviewsourcecheck.js]]
ConfirmRollback = {
recentchanges: "confirm"
};
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Backlink: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
importScript('User:DreamRimmer/DeletedMetaData.js'); // Backlink: [[User:DreamRimmer/DeletedMetaData.js]]