Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// HarvErrors
window.checkLinksToCitations = false;

// var SegregateRefsJsAllowConversion = true;
EWC_hours = 168;

window.scriptInstallerAutoReload = false;

// NavPopup
window.popupStructure = 'menus';
window.popupAdminLinks = true;
window.imagePopupsForImages = false;
window.popupFixDabs = true;
window.popupDabsAutoClick = 'wpPreview';
window.popupRedlinkRemoval = true;
window.popupRedlinkAutoClick = 'wpSave';
window.popupLazyDownloads = false;
window.popupLazyPreviews = false;
window.popupMaxWidth = false;
window.popupShortcutKeys = true;
// window.popupPreviewRawTemplates = false;

window.LocalComments = {
    dateDifference: true,
    dateFormat: 'dmy',
    dayOfWeek: true,
    dropDays: 30,
    dropMonths: 12,
    timeFirst: false,
    twentyFourHours: false,
};

var expansions = {
	t: "Template", tt: "Template talk",
	m: "Module", mt: "Module talk",
	c: "Category", ct: "Category talk",
	u: "User", ut: "User talk",
	h: "Help", ht: "Help talk",
//	"help:mw": "Help:Magic Words"
};

localStorage.setItem('Wikiplus_Settings', JSON.stringify({
	"defaultSummary": "function(w){return '/* ' + (w.sectionNumber > 0 && w.sectionName || '') + ' */ '}",
	"escToExitQuickEdit": true
}));

window.STRINGS = {
        installLinkText: "➕",
        uninstallLinkText: "❌"
};

window.markAdminCfg = {
	groups: {
		'sysop': { label: '🎩️️', enabled: true}, 
		'abusefilter': { label: '👮️️', enabled: true },
		'abusefilter-helper': { label: '🚦', enabled: true },
		'accountcreator': { label: '🏭', enabled: true },
		'autoreviewer': { label: '🦸', enabled: true },
		'extendedmover': { label: '🚛', enabled: true },
		'filemover': { label: '🚚', enabled: true },
		'massmessage-sender': { label: '📣', enabled: true },
		'templateeditor': { label: '💻', enabled: true },
		'otrs-member': { label: '👩', enabled: true },
		'patroller': { label: '🚓', enabled: true },
		'reviewer': { label: '🕵️', enabled: true },
		'rollbacker': { label: '🧻', enabled: true },
	}
};

var scriptsToManage = {
	"ajaxPreview":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Js/ajaxPreview.js",
	"AJAXUndo":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/AJAXUndo.js",
	"Aligner":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Majavah/Aligner.js",
	"Archiver":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Σ/Testing_facility/Archiver.js",
	"ArticleQuality":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:EpochFail/ArticleQuality.js",
	"autoBackup":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:PerfektesChaos/js/autoBackup/r.js",
	"autoFormatter":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=de:Benutzer:TMg/autoFormatter.js",
	"autolink":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Lenore/autolink.js",
	"Autoref":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/Autoref.js",
	"Backlinks":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Lourdes/Backlinks.js",
	"Bawl":					"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Alexis Jazz/Bawl.js",
	"bracketmatch":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ais523/bracketmatch.js",
	"Citoid":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Salix_alba/Citoid.js",
	"CleanDiffURLs":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Þjarkur/CleanDiffURLs.js",
	"CodeEditorAssist":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Nardog/CodeEditorAssist.js",
	"codeEditWindowSize":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Danski454/codeEditWindowSize.js",
	"CodeLinks":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Erutuon/scripts/CodeLinks.js",
	"CompareRevisions":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/CompareRevisions.js",
	"Consecudiff":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Nardog/Consecudiff.js",
	"CSSImageCrop":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/CSSImageCrop.js",
	"deletionFinder":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Writ_Keeper/Scripts/deletionFinder.js",
	"diff-context":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/diff-context.js",
	"diff-permalink":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/diff-permalink.js",
	"DiffPreviewFindLine":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Cobaltcigs/DiffPreviewFindLine.js",
	"diffs":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Dudemanfellabra/diffs.js",
	"DiscussionCloser":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DannyS712/DiscussionCloser.js",
	"disFixer":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Matma Rex/disFixer.js",
	"domainRedirect":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Opencooper/domainRedirect.js",
	"DraftCleaner":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Novem Linguae/Scripts/DraftCleaner.js",
	"editCounterNoAlert":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:WikiMasterGhibif/editCounterNoAlert.js",
	"ExpandDiffs":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Bradv/Scripts/ExpandDiffs.js",
	"fancy-diffs":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/fancy-diffs.js",
	"gigawatch":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Anne drew Andrew and Drew/gigawatch.js",
	"GraphicReplyLink":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GhostInTheMachine/GraphicReplyLink.js",
	"HotDefaultSort":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/HotDefaultSort.js",
	"imageSize":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Erutuon/scripts/imageSize.js",
	"ip-ext-info":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GeneralNotability/ip-ext-info.js",
	"LastEditor":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GhostInTheMachine/LastEditor.js",
	"linkclassifier":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Anomie/linkclassifier.js",
	"lintHint":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:PerfektesChaos/js/lintHint.js",
	"ListSorter":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/ListSorter.js",
	"LiveDiffLink":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Equazcion/LiveDiffLink.js",
	"LuckyRename":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Alexis Jazz/LuckyRename.js",
	"MoreDiffInfo":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/MoreDiffInfo.js",
	"moremenu-proxy":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GeneralNotability/moremenu-proxy.js",
	"MoveHistory":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Nardog/MoveHistory.js",
	"Notifier":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Newslinger/Notifier.js",
	"NullEdit":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/NullEdit.js",
	"PageDetails":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Anne_drew_Andrew_and_Drew/PageDetails.js",
	"ParameterSpacing":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/ParameterSpacing.js",
	"PermaLinkSection":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DannyS712/PermaLinkSection.js",
	"PortletLinks":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/PortletLinks.js",
	"Pretty rights log":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DannyS712/Pretty rights log.js",
	"Quick Image Delete":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Howcheng/quickimgdelete.js",
	"Rater":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Evad37/rater.js",
	"Refercence Toolbar":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Mr.Z-man/refToolbar.js",
	"Review Source Check":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Lingzhi2/reviewsourcecheck.js",
	"Scripts Panel":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Guarapiranga/scriptsPanel.js",
	"SD Display Helper":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GhostInTheMachine/SD-display-helper.js",
	"Search++":				"de.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=Benutzer:Schnark/js/search%2B%2B.js",
	"Search Namespace":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Writ_Keeper/Scripts/SearchNamespace.js",
	"Search Persistence":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:קיפודנחש/searchPersistence.js",
	"Section Mover":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DannyS712/SectionMover.js",
	"Section Remover":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DannyS712/SectionRemover.js",
	"SetupAutoArchive":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Anne_drew_Andrew_and_Drew/SetupAutoArchive.js",
	"Signing":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=meta:User:Perhelion/signing.js",
	"Sort What Links Here":	"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GhostInTheMachine/SortWhatLinksHere.js",
	"Source_links":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:PrimeHunter/Source_links.js",
	"subpages":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Bellezzasolo/Scripts/subpages.js",
	"Subpages":				"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/Subpages.js",
	"SuperJump":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Enterprisey/superjump.js",
	"SVG Editor":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/SVGEditor.js",
	"Talk Helper":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:GhostInTheMachine/TalkHelper2.js",
	"Top Contributers":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ais523/topcontrib.js",
	"Typo":					"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Uziel302/typo.js",
	"Undo Move":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Danski454/undo-move.js",
	"Unreliable":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Headbomb/unreliable.js",
	"Validate SVG":			"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Dlrohrer2003/validate-svg.js",
	"What Links Here":		"//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:V111P/js/whatLinksHereLinkFilter.js",
};

function importScript(script) {
	if (mw.loader.getState('mobile.init.styles') !== 'ready')
		mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=' + encodeURIComponent(script));
}

	mw.loader.load('//wikiplus-app.com/Main.js');
//	mw.loader.load('https://cdn.jsdelivr.net/npm/wikiplus-core@latest/dist/Main.js');
//	importScript('User:镜音铃/Wikiplus/Main.beta.js');
	mw.loader.load('//www.mediawiki.org/w/index.php?title=XTools/ArticleInfo.js&action=raw&ctype=text/javascript');
	mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Guarapiranga/markAdmins.js');
	mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Alex_Smotrov/histcomb.js');
	mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Writ_Keeper/Scripts/commonHistory.js');
	mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/scriptManager.js');
	importScript('User:The_Transhumanist/SearchSuite.js');
	importScript('meta:User:Jon_Harald_Søby/diffedit.js');
	importScript('meta:User:Xiplus/js/importer.js');
	importScript('User:Amorymeltzer/userinfo.js');
	importScript('User:Begoon/addUploadsLink.js'); // Backlink: [[User:Begoon/addUploadsLink.js]]
	importScript('User:Bradv/Scripts/WhatLinksHereSnippets.js'); // Backlink: [[User:Bradv/Scripts/WhatLinksHereSnippets.js]]
	importScript('User:BrandonXLF/ContribsByPage.js');
	importScript('User:BrandonXLF/FloatHead.js');
	importScript('User:BrandonXLF/GlobalPrefs.js');
	importScript('User:BrandonXLF/QuickEdit.js');
	importScript('User:BrandonXLF/ReferenceExpander.js');
	importScript('User:BrandonXLF/Restorer.js');
	importScript('User:BrandonXLF/SubpageMover.js');
	importScript('User:BrandonXLF/UpdateNotifications.js');
	importScript('User:BrandonXLF/WatchDoc.js');
	importScript('User:Cobaltcigs/IllWill.js');
	importScript('User:DannyS712/Global watchlist.js');
	importScript('User:Danski454/wikidata_Qnum.js');
	importScript('User:Diegodlh/Web2Cit/script.js');
	importScript('User:Dlrohrer2003/source-code-wikilinks.js');
	importScript('User:Eizen/LastEditor.js');
	importScript('User:Eizen/PageCreator.js');
	importScript('User:Enterprisey/ContribsTabVector.js');
	importScript('User:Enterprisey/copy-section-link.js');
	importScript('User:Enterprisey/live-reload.js');
	importScript('User:Enterprisey/rc-thanks.js');
	importScript('User:Enterprisey/section-redir-note.js');
	importScript('User:Enterprisey/sync-template-sandbox.js');
	importScript('User:Enterprisey/talk-tab-count.js');
	importScript('User:Enterprisey/undo-last-edit.js');
	importScript('User:Equazcion/BetterTwinklePrefs.js');
	importScript('User:Evad37/livenotifications.js');
	importScript('User:Evad37/OneClickArchiver.js');
	importScript('User:Evad37/Thanky.js');
	importScript('User:Evad37/TimestampDiffs.js');
	importScript('User:Evad37/WikidataWatchlistLabels.js');
	importScript('User:GhostInTheMachine/SortWhatLinksHere.js'); // Backlink: [[User:GhostInTheMachine/SortWhatLinksHere.js]]
	importScript('User:Guarapiranga/accessKeysCheatSheet.js');
	importScript('User:Guarapiranga/EditWarChecker.js');
	importScript('User:Guarapiranga/FloatingTOC.js');
	importScript('User:Guarapiranga/GlobalWatchlistLink.js');
	importScript('User:Guarapiranga/OAbotLink.js'); // Backlink: [[User:Guarapiranga/OAbotLink.js]]
	importScript('User:Guarapiranga/search-shortcuts.js');
	importScript('User:Guarapiranga/short-tabs.js');
	importScript('User:Guarapiranga/WhatRedirectsHere.js');
	importScript('User:Jfmantis/pagesCreated.js');
	importScript('User:Joeytje50/JWB.js/load.js');
	importScript('User:Js/6tabs-vector.js');
// 	importScript('User:Js/watchlist.js'); // Backlink: [[User:Js/watchlist.js]]
	importScript('User:Kephir/gadgets/hollis.js');
	importScript('User:Kephir/gadgets/table-editor.js');
	importScript('User:Lingzhi2/reviewsourcecheck.js'); // Backlink: [[User:Lingzhi2/reviewsourcecheck.js]]
	importScript('User:Macy/FastButtons.js');
	importScript('User:Nardog/Consecudiff.js'); // Backlink: [[User:Nardog/Consecudiff.js]]
	importScript('User:Novem Linguae/Scripts/Links.js');
	importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js');
	importScript('User:Ohconfucius/script/formatgeneral.js');
	importScript('User:Ohconfucius/script/Sources.js');
	importScript('User:PerfektesChaos/js/listPageOptions/r.js');
	importScript('User:Pythoncoder/Scripts/voteSymbols.js');
	importScript('User:Rublov/diff-link.js');
	importScript('User:Splarka/dabfinder.js');
	importScript('User:Suffusion_of_Yellow/mark-reverted.js');
	importScript('User:SuperHamster/CiteUnseen.js');
	importScript('User:TheJJJunk/ARA.js');
	importScript('User:The_Voidwalker/centralAuthLink.js'); // Backlink: [[User:The_Voidwalker/centralAuthLink.js]]
	importScript('User:Ucucha/HarvErrors.js'); // Backlink: [[User:Ucucha/HarvErrors.js]]
// 	importScript('User:UncleDouggie/smart_watchlist.js'); // Backlink: [[User:UncleDouggie/smart_watchlist.js]]
	importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // Backlink: [[User:V111P/js/whatLinksHereLinkFilter.js]]
//	importScript('User:Weeklyd3/scripts/autocomplete.js');
	importScript('User:Yair rand/interwikiwatchlist.js');
	importScript('User:Þjarkur/Highlight_recently_added_text.js');
	importScript('User:Þjarkur/Show_number_of_active_watchers_&_monthly_views_on_every_page.js');
	importScript('User:קיפודנחש/apiRollback.js');
	importScript('User:קיפודנחש/watchlistMark.js');
	importScript('User:קיפודנחש/watchlistScout.js');
	importScript('User:קיפודנחש/wathlistWatcher.js');
	importScript('Wikipedia:AutoEd/complete.js');
importScript('User:PerfektesChaos/js/refNames/r.js'); // Backlink: [[User:PerfektesChaos/js/refNames/r.js]]