User:Remsense/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:Remsense/common.css. |
// Enable caching for resource loads, see [[User:SD0001/Making user scripts load faster]], @revision 6
if(!/\bnocache=\b/.test(location.href)){let e=(e,t,n)=>(e=e.replace(/special:mypage/i,"User:"+mw.config.get("wgUserName")),$.get("https://"+t+"/w/api.php?titles="+e+"&origin=*&format=json&formatversion=2&uselang=content&maxage=86400&smaxage=86400&action=query&prop=revisions|info&rvprop=content&rvlimit=1").then((r=>{let o=r.query.pages[0];if(o.missing)return;let a=o.revisions[0].content;if(n&&"text/javascript"!==n||"javascript"!==o.contentmodel){if("text/css"!==n||"css"!==o.contentmodel)return $.Deferred().reject('Refused to load "'+e+'"@'+t+": content type mismatch");mw.loader.addStyleTag(a)}else{let e=document.createElement("script");e.innerHTML=a,document.head.appendChild(e)}}))),t=e=>{let t=/^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(e),n=/\btitle=([^=?&]*)/.exec(e);return t&&n&&/\baction=raw\b/.test(e)&&/\bctype=/.test(e)?[n[1],t[1]||mw.config.get("wgServerName")]:null};window.importScript=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/javascript")},window.importStyleSheet=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/css")};let n=mw.loader.load;mw.loader.load=function(r,o){let a=t(r);a?e(a[0],a[1],o):n.apply(mw.loader,[...arguments])};let r=mw.loader.getScript;mw.loader.getScript=function(n){let o=t(n);return o?e(o[0],o[1],"text/javascript"):r.apply(mw.loader,[...arguments])}}
//importScript('User:V111P/js/smartLinkingLoader.js'); // Backlink: [[User:V111P/js/smartLinkingLoader.js]]
importScript('User:Ahecht/Scripts/TemplateSearch.js'); // Backlink: [[User:Ahecht/Scripts/TemplateSearch.js]]
//importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
//importScript('User:BrandonXLF/ParameterSpacing.js'); // Backlink: [[User:BrandonXLF/ParameterSpacing.js]]
importScript('User:BrandonXLF/PortletLinks.js'); // Backlink: [[User:BrandonXLF/PortletLinks.js]]
//importScript('User:Cobaltcigs/IllWill.js'); // Backlink: [[User:Cobaltcigs/IllWill.js]]
//importScript('User:Dapete/ImageMapEdit.js'); // Backlink: [[User:Dapete/ImageMapEdit.js]]
//importScript('User:Dr pda/editrefs.js'); // Backlink: [[User:Dr pda/editrefs.js]]
//importScript('User:Enterprisey/ContribsTabVector.js'); // Backlink: [[User:Enterprisey/ContribsTabVector.js]]
//importScript('User:Enterprisey/hover-edit-section.js'); // Backlink: [[User:Enterprisey/hover-edit-section.js]]
//importScript('User:Enterprisey/superjump.js'); // Backlink: [[User:Enterprisey/superjump.js]]
//importScript('User:Erutuon/scripts/imageSize.js'); // Backlink: [[User:Erutuon/scripts/imageSize.js]]
//importScript('User:Frietjes/addcheckforunknownparameters.js'); // Backlink: [[User:Frietjes/addcheckforunknownparameters.js]]
//importScript('User:Frietjes/findargdups.js'); // Backlink: [[User:Frietjes/findargdups.js]]
//importScript('User:GhostInTheMachine/TalkHelper2.js'); // Backlink: [[User:GhostInTheMachine/TalkHelper2.js]]
//importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
//importScript('User:Lingzhi2/reviewsourcecheck-sb.js'); // Backlink: [[User:Lingzhi2/reviewsourcecheck-sb.js]]
//importScript('User:Nardog/CodeEditorAssist.js'); // Backlink: [[User:Nardog/CodeEditorAssist.js]]
//importScript('User:Nardog/CopyCodeBlock.js'); // Backlink: [[User:Nardog/CopyCodeBlock.js]]
//importScript('User:Path slopu/scripts/TeahouseSidebar.js'); // Backlink: [[User:Path slopu/scripts/TeahouseSidebar.js]]
//importScript('User:Path slopu/scripts/VPpanel.js'); // Backlink: [[User:Path slopu/scripts/VPpanel.js]]
//importScript('User:PerfektesChaos/js/lintHint/r.js'); // Backlink: [[User:PerfektesChaos/js/lintHint/r.js]]
//importScript('User:PrimeHunter/My subpages.js'); // Backlink: [[User:PrimeHunter/My subpages.js]]
//importScript('User:Qwerfjkl/scripts/editRedirect.js'); // Backlink: [[User:Qwerfjkl/scripts/editRedirect.js]]
//importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
//importScript('User:SD0001/GAN-helper.js'); // Backlink: [[User:SD0001/GAN-helper.js]]
//importScript('User:SD0001/GAR-helper.js&ctype=text/javascript'); // Backlink: [[User:SD0001/GAR-helper.js&ctype=text/javascript]]
//importScript('User:TheJJJunk/ARA.js'); // Backlink: [[User:TheJJJunk/ARA.js]]
importScript('User:10nm/beta.js'); // Backlink: [[User:10nm/beta.js]]
importScript('User:js/6tabs-vector.js'); // Backlink: [[User:js/6tabs-vector.js]]
//importScript('m:User:Aaron Liu/v22.css'); // Backlink: [[m:User:Aaron Liu/v22.css]]
importScript('User:Rezonansowy/SimpleLightbox.js'); // Backlink: [[User:Rezonansowy/SimpleLightbox.js]]
importScript('User:Þjarkur/Highlight recently added text.js'); // Backlink: [[User:Þjarkur/Highlight recently added text.js]]
importScript('User:Nardog/VitalTopicon.js'); // Backlink: [[User:Nardog/VitalTopicon.js]]
importScript('User:Phlsph7/Readability - Colorblind Friendly.js'); // Backlink: [[User:Phlsph7/Readability - Colorblind Friendly.js]]
importScript('User:Nardog/Unpipe.js'); // Backlink: [[User:Nardog/Unpipe.js]]
importScript('User:קיפודנחש/searchPersistence.js'); // Backlink: [[User:קיפודנחש/searchPersistence.js]]
importScript('User:Q28/Edit Keeper.js'); // Backlink: [[User:Q28/Edit Keeper.js]]
//importScript('User:PC-XT/Advisor.js'); // Backlink: [[User:PC-XT/Advisor.js]]
importScript('Wikipedia:AutoEd/formatter.js'); // Backlink: [[Wikipedia:AutoEd/formatter.js]]
importScript('User:Awesome Aasim/savedraft.js'); // Backlink: [[User:Awesome Aasim/savedraft.js]]
//importScript('User:Kephir/gadgets/table-editor.js'); // Backlink: [[User:Kephir/gadgets/table-editor.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AJoeytje50%2FJWB.js%2Fload.js&action=raw&ctype=text/javascript');
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
//importScript('User:Eejit43/scripts/rmtr-helper.js'); // Backlink: [[User:Eejit43/scripts/rmtr-helper.js]]
importScript('User:Remsense/watchlist.js'); // Backlink: [[User:Remsense/watchlist.js]]
importScript('User:Alex Smotrov/histcomb.js'); // Backlink: [[User:Alex Smotrov/histcomb.js]]
//importScript('User:Bradv/endlesscontribs.js'); // Backlink: [[User:Bradv/endlesscontribs.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Ingenuity/ReferenceEditor.js'); // Backlink: [[User:Ingenuity/ReferenceEditor.js]]
importScript('User:Mesidast/Tidy citations.js'); // Backlink: [[User:Mesidast/Tidy citations.js]]
importScript('User:Nardog/RefRenamer.js'); // Backlink: [[User:Nardog/RefRenamer.js]]
importScript('User:BrandonXLF/FindSources.js'); // Backlink: [[User:BrandonXLF/FindSources.js]]
importScript('User:Phlsph7/ListUnreferencedParagraphs.js'); // Backlink: [[User:Phlsph7/ListUnreferencedParagraphs.js]]
importScript('User:PleaseStand/segregate-refs.js'); // Backlink: [[User:PleaseStand/segregate-refs.js]]
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:BrandonXLF/Autoref.js'); // Backlink: [[User:BrandonXLF/Autoref.js]]
importScript('User:BrandonXLF/CitationStyleMarker.js'); // Backlink: [[User:BrandonXLF/CitationStyleMarker.js]]
window.CSMarkerMode = 'both';
importScript('User:BrandonXLF/QuickEdit.js'); // Backlink: [[User:BrandonXLF/QuickEdit.js]]
importScript('User:Eejit43/scripts/ajax-undo.js'); // Backlink: [[User:Eejit43/scripts/ajax-undo.js]]
importScript('User:JPxG/current-switcher.js'); // Backlink: [[User:JPxG/current-switcher.js]]
//importScript('User:Guywan/Scripts/InsertShortcuts.js'); // Backlink: [[User:Guywan/Scripts/InsertShortcuts.js]]
//importScript('User:Enterprisey/copy-section-link.js'); // Backlink: [[User:Enterprisey/copy-section-link.js]]
importScript('User:BrandonXLF/CollapseSections.js'); // Backlink: [[User:BrandonXLF/CollapseSections.js]]
//importScript('User:Hilst/Scripts/sectionLinks.js'); // Backlink: [[User:Hilst/Scripts/sectionLinks.js]]
importScript('User:BrandonXLF/Restorer.js'); // Backlink: [[User:BrandonXLF/Restorer.js]]
//importScript('User:Elominius/gadget/diff arrow keys.js'); // Backlink: [[User:Elominius/gadget/diff arrow keys.js]]
importScript('User:BrandonXLF/MoreDiffInfo.js'); // Backlink: [[User:BrandonXLF/MoreDiffInfo.js]]
importScript('User:Cobaltcigs/DiffPreviewFindLine.js'); // Backlink: [[User:Cobaltcigs/DiffPreviewFindLine.js]]
importScript('User:BrandonXLF/CompareRevisions.js'); // Backlink: [[User:BrandonXLF/CompareRevisions.js]]
importScript('User:Enterprisey/diff-context.js'); // Backlink: [[User:Enterprisey/diff-context.js]]
importScript('User:Enterprisey/offset-history-link.js'); // Backlink: [[User:Enterprisey/offset-history-link.js]]
importScript('User:Nardog/SmartDiff.js'); // Backlink: [[User:Nardog/SmartDiff.js]]
importScript('User:NguoiDungKhongDinhDanh/LiveDiffLink.js'); // Backlink: [[User:NguoiDungKhongDinhDanh/LiveDiffLink.js]]
//importScript('m:User:Jon Harald Søby/diffedit.js'); // Backlink: [[m:User:Jon Harald Søby/diffedit.js]]
importScript('User:Writ Keeper/Scripts/previewAndDiff.js'); // Backlink: [[User:Writ Keeper/Scripts/previewAndDiff.js]]
importScript('User:Tol/RealSVG.js'); // Backlink: [[User:Tol/RealSVG.js]]
importScript('User:BrandonXLF/CSSImageCrop.js'); // Backlink: [[User:BrandonXLF/CSSImageCrop.js]]
importScript('User:BrandonXLF/SVGEditor.js'); // Backlink: [[User:BrandonXLF/SVGEditor.js]]
importScript('User:BrandonXLF/EasySummary.js'); // Backlink: [[User:BrandonXLF/EasySummary.js]]
importScript('User:BrandonXLF/HotDefaultSort.js'); // Backlink: [[User:BrandonXLF/HotDefaultSort.js]]
importScript('User:BrandonXLF/ListSorter.js'); // Backlink: [[User:BrandonXLF/ListSorter.js]]
importScript('User:Evad37/duplinks-alt.js'); // Backlink: [[User:Evad37/duplinks-alt.js]]
//importScript('User:Qwerfjkl/scripts/massXFD.js'); // Backlink: [[User:Qwerfjkl/scripts/massXFD.js]]
importScript('User:Qwerfjkl/scripts/RETF.js'); // Backlink: [[User:Qwerfjkl/scripts/RETF.js]]
//importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]
//importScript('User:SD0001/DYK-helper.js'); // Backlink: [[User:SD0001/DYK-helper.js]]
//importScript('User:Shubinator/DYKcheck.js'); // Backlink: [[User:Shubinator/DYKcheck.js]]
importScript('User:DannyS712/DiscussionCloser.js'); // Backlink: [[User:DannyS712/DiscussionCloser.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Awesome Aasim/redirectcreator.js'); // Backlink: [[User:Awesome Aasim/redirectcreator.js]]
importScript('User:Awesome Aasim/xfdvote.js'); // Backlink: [[User:Awesome Aasim/xfdvote.js]]
//importScript('User:Anomie/unsignedhelper.js'); // Backlink: [[User:Anomie/unsignedhelper.js]]
//importScript('User:SD0001/easy-merge.js'); // Backlink: [[User:SD0001/easy-merge.js]]
importScript('User:BilledMammal/MovePlus.js'); // Backlink: [[User:BilledMammal/MovePlus.js]]
importScript('User:andrybak/Archiver.js'); // Backlink: [[User:andrybak/Archiver.js]]
//importScript('User:Remsense/PortletLinks.js'); // Backlink: [[User:Remsense/PortletLinks.js]]
//importScript('User:Remsense/zh.js'); // Backlink: [[User:Remsense/zh.js]]
importScript('User:Enterprisey/parent-cats.js'); // Backlink: [[User:Enterprisey/parent-cats.js]]
importScript('User:TheresNoTime/linkThings.js'); // Backlink: [[User:TheresNoTime/linkThings.js]]
//importScript('User:Guarapiranga/accessKeysCheatSheet.js'); // Backlink: [[User:Guarapiranga/accessKeysCheatSheet.js]]
importScript('User:Fred Gandt/confirmLogout.js'); // Backlink: [[User:Fred Gandt/confirmLogout.js]]
importScript('User:Evad37/Thanky.js'); // Backlink: [[User:Evad37/Thanky.js]]
//importScript('User:Jeeputer/specialRandomPage.js'); // Backlink: [[User:Jeeputer/specialRandomPage.js]]
var customNamespaceSummaries = {
'0': [
"My first custom edit summary for articles only",
],
'2': [
"null, void, invalid, iniquitous, unjust, damnable, reprobate, inane, empty of meaning and effect for all time",
],
};