User:Qwerfjkl/common.js

//mw.util.addPortletLink ( 'p-tb', "javascript:importScript('MediaWiki:Gadget-XFDcloser-core.js')", 'My JS', 'pt-myvector', 'Visit your js file');

sciNoConfirm=false; window.hotcat_use_category_links = true; window.popupFixRedirs = true; window.popupRedirAutoClick	= 'wpSave'; window.popupFixDabs = true; window.popupDabsAutoClick = 'wpSave'; window.popupRedlinkRemoval = true; window.popupRedlinkAutoClick = 'wpSave'; window.popupWatchDisambiggedPages = null; window.popupWatchRedirredPages = true; if ( mw.config.get( 'wgAction' ) === 'purge' ) { $('form.mw-htmlform').submit; }

// Enable caching for resource loads, see User:SD0001/Making user scripts load faster, @revision 5 if (!/\bnocache=\b/.test(location.href)) { // Don't enable if nocache=1 url parameter is given var loadResource = function(page, sitename, ctype) { page = page.replace(/special:mypage/i, 'User:' + mw.config.get('wgUserName')); return $.get(			'https://' + sitename + '/w/api.php?titles=' + page + // page is already URL-encoded			'&origin=*&format=json&formatversion=2&uselang=content&maxage=864000&smaxage=864000' + 			'&action=query&prop=revisions|info&rvprop=content&rvlimit=1'		).then(function(apiResponse) {			var apiPage = apiResponse.query.pages[0];			if (apiPage.missing) {				return;			}			var content = apiPage.revisions[0].content;			if ((!ctype || ctype === 'text/javascript') && apiPage.contentmodel === 'javascript') {				if (apiPage.ns !== 2 && apiPage.ns !== 8) {					return $.Deferred.reject('Refused to load "' + page + '"@' + sitename + ': outside User and MediaWiki space');				}				var scriptTag = document.createElement('script');				scriptTag.innerHTML = content;				document.head.appendChild(scriptTag);		   } else if (ctype === 'text/css' && apiPage.contentmodel === 'css') {				mw.loader.addStyleTag(content); } else { return $.Deferred.reject('Refused to load "' + page + '"@' + sitename + ': content type mismatch'); }		});	};	var getSiteTitle = function(url) {		var siteRgx = /^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(url),			titleRgx = /\btitle=([^=?&]*)/.exec(url);		if (siteRgx && titleRgx && /\baction=raw\b/.test(url) && /\bctype=/.test(url)) {			return [titleRgx[1], siteRgx[1] || mw.config.get('wgServerName')];			} else return null;	};	window.importScript = function(page) {		loadResource(encodeURIComponent(page), mw.config.get('wgServerName'), 'text/javascript');	};	window.importStyleSheet = function(page) {		loadResource(encodeURIComponent(page), mw.config.get('wgServerName'), 'text/css');	};	var oldMwLoaderLoad = mw.loader.load;	mw.loader.load = function(url, type) {		var linkParts = getSiteTitle(url);		if (linkParts) {			loadResource(linkParts[0], linkParts[1], type);		} else {			oldMwLoaderLoad.apply(mw.loader, Array.prototype.slice.call(arguments));		}	};	var oldMwLoaderGetScript = mw.loader.getScript; mw.loader.getScript = function(url) { var linkParts = getSiteTitle(url); if (linkParts) { return loadResource(linkParts[0], linkParts[1], 'text/javascript'); } else { return oldMwLoaderGetScript.apply(mw.loader, Array.prototype.slice.call(arguments)); }	}; } mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Þjarkur/NeverUseMobileVersion.js&action=raw&ctype=text/javascript'); // mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/AFCRHS.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/ListSorter.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/MoveToDraft.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript'); mw.loader.load('/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); //importScript('User:Ohconfucius/script/Common Terms.js'); // Backlink: User:Ohconfucius/script/Common Terms.js //importScript('User:Ohconfucius/script/formatgeneral.js'); // Backlink: User:Ohconfucius/script/formatgeneral.js //importScript('User:Ohconfucius/script/Sources.js'); // Backlink: User:Ohconfucius/script/Sources.js //importScript('User:Salix alba/Citoid.js'); // Backlink: User:Salix alba/Citoid.js mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ebrahames/Advisor.js&action=raw&ctype=text/javascript'); importScript('User:TheJJJunk/ARA.js'); // Backlink: User:TheJJJunk/ARA.js importScript('User:Awesome Aasim/addmylinks.js'); // Backlink: User:Awesome Aasim/addmylinks.js importScript('User:Awesome_Aasim/editrequest.js'); // Backlink: User:Awesome Aasim/editrequest.js importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: User:Jackmcbarn/editProtectedHelper.js importScript('User:Danski454/goToTop.js'); // Backlink: User:Danski454/goToTop.js importScript('User:BrandonXLF/ToBottom.js'); // Backlink: User:BrandonXLF/ToBottom.js importScript('User:Lourdes/PageCuration.js'); // Backlink: User:Lourdes/PageCuration.js //importStyleSheet('User:TheDJ/mobileVector.css'); // Backlink: User:TheDJ/mobileVector.css importScript('User:BrandonXLF/TodoList.js'); // Backlink: User:BrandonXLF/TodoList.js importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: User:Anomie/linkclassifier.css importScript('User:BrandonXLF/PortletLinks.js'); // Backlink: User:BrandonXLF/PortletLinks.js //importScript('User:BrandonXLF/QuickEdit.js'); // Backlink: User:BrandonXLF/QuickEdit.js importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: User:Writ Keeper/Scripts/massRollback.js //importScript('User:Ocaasi/WikiLoveinstallscript.js'); // Backlink: User:Ocaasi/WikiLoveinstallscript.js importScript('User:BrandonXLF/Restorer.js'); // Backlink: User:BrandonXLF/Restorer.js importScript('User:BrandonXLF/Autoref.js'); // Backlink: User:BrandonXLF/Autoref.js //importScript('User:BrandonXLF/CollapseSections.js'); // Backlink: User:BrandonXLF/CollapseSections.js //importScript('User:Fred_Gandt/confirmLogout.js'); // Backlink: User:Fred Gandt/confirmLogout.js importScript('User:Evad37/EditWarChecker.js'); // Backlink: User:Evad37/EditWarChecker.js importScript('User:Chlod/Scripts/UserHighlighter.js'); // Backlink: User:Chlod/Scripts/UserHighlighter.js //importScript('Wikipedia:AutoEd/basic.js'); // Backlink: AutoEd/basic.js //importScript('User:Awesome_Aasim/xfdvote.js'); // Backlink: User:Awesome Aasim/xfdvote.js //importScript('User:Bradv/endlesscontribs.js'); // Backlink: User:Bradv/endlesscontribs.js importScript('User:GhostInTheMachine/SortWhatLinksHere.js'); // Backlink: User:GhostInTheMachine/SortWhatLinksHere.js //importScript('User:BrandonXLF/ContribsByPage.js'); // Backlink: User:BrandonXLF/ContribsByPage.js //importScript('User:Guywan/Scripts/RefCruncher.js'); // Backlink: User:Guywan/Scripts/RefCruncher.js //importScript('User:Kangaroopower/MRollback.js'); // Backlink: User:Kangaroopower/MRollback.js importScript('User:Nardog/CopySectLink.js'); // Backlink: User:Nardog/CopySectLink.js importScript('User:BrandonXLF/NoRedirect.js'); // Backlink: User:BrandonXLF/NoRedirect.js importScript('User:Enterprisey/section-redir-note.js'); // Backlink: User:Enterprisey/section-redir-note.js //importScript('User:Awesome_Aasim/infiniscroll.js'); // Backlink: User:Awesome Aasim/infiniscroll.js //importScript('User:PiRSquared17/rcexpander.js'); // Backlink: User:PiRSquared17/rcexpander.js //importScript('User:Lourdes/Backlinks.js'); // Backlink: User:Lourdes/Backlinks.js importScript('User:Anomie/unsignedhelper.js'); // Backlink: User:Anomie/unsignedhelper.js importScript('User:SD0001/UnassessedArticleLinks.js'); // Backlink: User:SD0001/UnassessedArticleLinks.js mw.loader.load('//de.wikipedia.org/w/index.php?title=User:TMg/autoFormatter.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Sam_Sailor/Scripts/autoFormatterSettings.js&action=raw&ctype=text/javascript'); //importScript('User:Jack_who_built_the_house/convenientDiscussions.js'); // Backlink: User:Jack who built the house/convenientDiscussions.js //mw.hook('convenientDiscussions.commentsReady').add(function {	// comments_in_local_time.js import code //importScript('User:SD0001/comments in local time.js'); // Backlink: User:SD0001/comments in local time.js //}); //importScript('User:Evad37/OneClickArchiver.js'); // Backlink: User:Evad37/OneClickArchiver.js //mw.loader.load('//de.wikipedia.org/w/index.php?title=User:TMg/cleanDiff.js&action=raw&ctype=text/javascript'); importScript('User:DannyS712/copyvio-check.js'); // Backlink: User:DannyS712/copyvio-check.js importScript('User:DannyS712/RandomAfC.js'); // Backlink: User:DannyS712/RandomAfC.js importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js'); // Backlink: User:Novem Linguae/Scripts/CiteHighlighter.js importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: User:SuperHamster/CiteUnseen.js //importScript('User:Anne_drew_Andrew_and_Drew/SetupAutoArchive.js'); // Backlink: User:Anne drew Andrew and Drew/SetupAutoArchive.js //importScript('User:קיפודנחש/watchlistScout.js'); // Backlink: User:קיפודנחש/watchlistScout.js importScript('User:BrandonXLF/ReferenceExpander.js'); // Backlink: User:BrandonXLF/ReferenceExpander.js //importScript('User:BrandonXLF/ShowRevisionID.js'); // Backlink: User:BrandonXLF/ShowRevisionID.js importScript('User:Enterprisey/diff-permalink.js'); // Backlink: User:Enterprisey/diff-permalink.js importScript('User:BrandonXLF/AJAXUndo.js'); // Backlink: User:BrandonXLF/AJAXUndo.js //importScript('User:The_Voidwalker/alwaysEditSectionLink.js'); // Backlink: User:The Voidwalker/alwaysEditSectionLink.js mw.loader.load('/w/index.php?title=User:Qwerfjkl/scripts/scripts/Old_USL.css&action=raw&ctype=text/css', 'text/css'); importScript('Wikipedia:AutoEd/complete.js'); // Backlink: AutoEd/complete.js //importScript('User:SD0001/shortdescs-in-category.js'); // Backlink: User:SD0001/shortdescs-in-category.js //importScript('User:Alexander Davronov/HistoryHelper.js'); // Backlink: User:Alexander Davronov/HistoryHelper.js importScript('User:Rummskartoffel/generate pings.js'); // Backlink: User:Rummskartoffel/generate pings.js importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); // Backlink: User:Novem Linguae/Scripts/DraftCleaner.js importScript('User:Novem Linguae/Scripts/VoteCounter.js'); // Backlink: User:Novem Linguae/Scripts/VoteCounter.js importScript('User:Qwerfjkl/scripts/script manager.js'); // Backlink: User:Qwerfjkl/scripts/script manager.js importScript('User:Awesome Aasim/DetectProtectionLevels.js'); // Backlink: User:Awesome Aasim/DetectProtectionLevels.js //importScript('User:Enterprisey/search-shortcuts.js'); // Backlink: User:Enterprisey/search-shortcuts.js importScript('User:Writ Keeper/Scripts/commonHistory.js'); // Backlink: User:Writ Keeper/Scripts/commonHistory.js importScript('User:Qwerfjkl/scripts/copies.js'); // Backlink: User:Qwerfjkl/scripts/copies.js importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: User:קיפודנחש/cat-a-lot.js //importScript('User:Enterprisey/afch-dev.js'); // Backlink: User:Enterprisey/afch-dev.js importScript('User:Headbomb/unreliable.js'); // Backlink: User:Headbomb/unreliable.js //importScript('User:SD0001/DiscussionCloser.js'); // Backlink: User:SD0001/DiscussionCloser.js importScript('User:Awesome Aasim/redirectcreator.js'); // Backlink: User:Awesome Aasim/redirectcreator.js //importScript('User:Writ Keeper/Scripts/teahouseTalkbackLink.js'); // Backlink: User:Writ Keeper/Scripts/teahouseTalkbackLink.js //importScript('User:Qwerfjkl/scripts/teahouseTalkbackLink.js'); // Backlink: User:Qwerfjkl/scripts/teahouseTalkbackLink.js importScript('User:Qwerfjkl/scripts/talkback.js'); // Backlink: User:Qwerfjkl/scripts/talkback.js

//Skriptsammlung Fliegelflagel, Benutzer:Schnark/js/fliegelflagel (function (module) {	if (mw.loader.getState(module)) {		mw.loader.using(module).then(function { ((mw.libs.ve.targetLoader && mw.libs.ve.targetLoader.addPlugin) || mw.libs.ve.addPlugin)(function {				var ve = $.Deferred;				mw.hook('userjs.schnark-fliegelflagel.ve').fire(ve);				return ve.promise;			}); });	} })('ext.visualEditor.desktopArticleTarget.init'); mw.hook('userjs.schnark-fliegelflagel.userdefine').fire({ // Adds additional scripts to library	version: 1.1,	profile: undefined,	additional: {		idFuerDasSkript: {		scripts: 'User:Qwerfjkl/scripts/OBOD.js',		title: 'OBOD',		description: 'Placeholder description'		}	},	config: {	} }); // From de:Benutzer:Schnark/js/fliegelflagel.js/define.js (config at Special:Fliegelflagel) mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/fliegelflagel.js/define.js&action=raw&ctype=text/javascript'); mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/fliegelflagel.js/load.js&action=raw&ctype=text/javascript'); //Fliegelflagel Ende importScript('User:BrandonXLF/NullEdit.js'); // Backlink: User:BrandonXLF/NullEdit.js importScript('User:Enterprisey/cv-revdel.js'); // Backlink: User:Enterprisey/cv-revdel.js importScript('User:Nardog/AutoSectionLink.js'); // Backlink: User:Nardog/AutoSectionLink.js mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript'); mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript'); importScript('User:Awesome Aasim/rcpatrol.js'); // Backlink: User:Awesome Aasim/rcpatrol.js importScript('User:Enterprisey/easy-brfa.js'); // Backlink: User:Enterprisey/easy-brfa.js //importScript('User:Frietjes/masspurge.js'); // Backlink: User:Frietjes/masspurge.js importScript('User:Novem Linguae/Scripts/DetectSNG.js'); // Backlink: User:Novem Linguae/Scripts/DetectSNG.js importScript('User:Vukky/Scripts/StatusChanger.js'); // Backlink: User:Vukky/Scripts/StatusChanger.js importScript('User:Qwerfjkl/scripts/journal.js'); // Backlink: User:Qwerfjkl/scripts/journal.js //importScript('User:Qwerfjkl/scripts/generatedoi.js'); // Backlink: User:Qwerfjkl/scripts/generatedoi.js mw.loader.load('//meta.wikimedia.org/wiki/User:Indic-TechCom/Script/massMover.js'); importScript('User:Ahecht/Scripts/refresh.js'); // Backlink: User:Ahecht/Scripts/refresh.js //importScript('User:Qwerfjkl/scripts/chemboxmaker.js'); // Backlink: User:Qwerfjkl/scripts/chemboxmaker.js importScript('User:Qwerfjkl/scripts/replace.js'); // Backlink: User:Qwerfjkl/scripts/replace.js importScript('User:Qwerfjkl/scripts/search.js'); // Backlink: User:Qwerfjkl/scripts/search.js importScript('User:Frietjes/addcheckforunknownparameters.js'); // Backlink: User:Frietjes/addcheckforunknownparameters.js //importScript('User:Ohconfucius/script/EngvarB.js'); // Backlink: User:Ohconfucius/script/EngvarB.js // Add AutoEd custom scripts to Move menu //importScript('User:Jonesey95/AutoEd/twoisbnparams.js'); // Backlink: User:Jonesey95/AutoEd/twoisbnparams.js //importScript('User:Jonesey95/AutoEd/month.js'); // Backlink: User:Jonesey95/AutoEd/month.js //importScript('User:Jonesey95/AutoEd/coauthors.js'); // Backlink: User:Jonesey95/AutoEd/coauthors.js //importScript('User:Jonesey95/AutoEd/pmc.js'); // Backlink: User:Jonesey95/AutoEd/pmc.js //importScript('User:Jonesey95/AutoEd/unnamed.js'); // Backlink: User:Jonesey95/AutoEd/unnamed.js //importScript('User:Jonesey95/AutoEd/issn.js'); // Backlink: User:Jonesey95/AutoEd/issn.js //importScript('User:Jonesey95/AutoEd/pages.js'); // Backlink: User:Jonesey95/AutoEd/pages.js //importScript('User:Jonesey95/AutoEd/authorlink.js'); // Backlink: User:Jonesey95/AutoEd/authorlink.js //importScript('User:Jonesey95/AutoEd/doi.js'); // Backlink: User:Jonesey95/AutoEd/doi.js //importScript('Wikipedia:AutoEd/complete.js'); // Backlink: AutoEd/complete.js //importScript('Wikipedia:AutoEd/basic.js'); // Backlink: AutoEd/basic.js //importScript('User:Enterprisey/copy-section-link.js'); // Backlink: User:Enterprisey/copy-section-link.js importScript('User:Nardog/CodeEditorAssist.js'); // Backlink: User:Nardog/CodeEditorAssist.js //importScript('User:Voice of All/Google/monobook.js'); // Backlink: User:Voice of All/Google/monobook.js //importScript('User:Lupin/recent2.js'); // Backlink: User:Lupin/recent2.js importScript('User:BrandonXLF/TestWikitext.js'); // Backlink: User:BrandonXLF/TestWikitext.js importScript('User:BrandonXLF/MoreDiffInfo.js'); // Backlink: User:BrandonXLF/MoreDiffInfo.js //importScript('User:Qwerfjkl/scripts/sectionLink.js'); // Backlink: User:Qwerfjkl/scripts/sectionLink.js importScript('User:Qwerfjkl/scripts/reflinks.js'); // Backlink: User:Qwerfjkl/scripts/reflinks.js importScript('User:Rummskartoffel/show tag names.js'); // Backlink: User:Rummskartoffel/show tag names.js //importScript('User:Kaldari/nerdalert.js'); // Backlink: User:Kaldari/nerdalert.js importScript('User:Certes/DisamAssist.js'); // Backlink: User:Certes/DisamAssist.js importScript('User:GhostInTheMachine/SDlinkBuilder.js'); // Backlink: User:GhostInTheMachine/SDlinkBuilder.js //importScript('User:Bradv/Scripts/Notepad.js'); // Backlink: User:Bradv/Scripts/Notepad.js //importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: User:Bradv/Scripts/Superlinks.js importScript('User:Qwerfjkl/scripts/subscribeall.js'); // Backlink: User:Qwerfjkl/scripts/subscribeall.js importScript('User:Qwerfjkl/scripts/findlinks.js'); // Backlink: User:Qwerfjkl/scripts/findlinks.js //importScript('User:Qwerfjkl/scripts/addToList.js'); // Backlink: User:Qwerfjkl/scripts/addToList.js importScript('User:MJL/textDisallow.js'); // Backlink: User:MJL/textDisallow.js importScript('User:Qwerfjkl/scripts/toggleCollapse.js'); // Backlink: User:Qwerfjkl/scripts/toggleCollapse.js DiffOnly = { history: true, diff: true }; importScript('User:Mr. Stradivarius/gadgets/DiffOnly.js'); // Backlink: User:Mr. Stradivarius/gadgets/DiffOnly.js importScript('User:Kephir/gadgets/hollis.js'); // Backlink: User:Kephir/gadgets/hollis.js importScript('User:Anne_drew_Andrew_and_Drew/gigawatch.js'); // Backlink: User:Anne drew Andrew and Drew/gigawatch.js importScript('User:BrownHairedGirl/BareURLinline.js'); // Backlink: User:BrownHairedGirl/BareURLinline.js

//importScript('User:WOSlinker/fontlinks.js'); // Backlink: User:WOSlinker/fontlinks.js importScript('User:Amorymeltzer/logSwap.js'); // Backlink: User:Amorymeltzer/logSwap.js importScript('User:BrandonXLF/HotDefaultSort.js'); // Backlink: User:BrandonXLF/HotDefaultSort.js //importScript('User:Qwerfjkl/test2.js'); // Backlink: User:Qwerfjkl/test2.js importScript('User:Anomie/linkclassifier.js'); // Backlink: User:Anomie/linkclassifier.js importScript('User:Pppery/purge.js'); // Backlink: User:Pppery/purge.js //importScript('User:RedWarn/.js'); // Backlink: User:RedWarn/.js // Fix archived section bug for RedWarn (UltraViolet) $(function {   if (window.location.hash.includes("#noticeApplied-"))        document.head.innerHTML += " .archived-section-prompt{display:none} "; importScript('User:Qwerfjkl/scripts/getLinks.js'); // Backlink: User:Qwerfjkl/scripts/getLinks.js //importScript('User:Enterprisey/set-js'); // Backlink: User:Enterprisey/set-js //importScript('User:Qwerfjkl/scripts/re-review.js'); // Backlink: User:Qwerfjkl/scripts/re-review.js importScript('User:Qwerfjkl/scripts/unusedCategories.js'); // Backlink: User:Qwerfjkl/scripts/unusedCategories.js importScript('User:Qwerfjkl/scripts/encode.js'); // Backlink: User:Qwerfjkl/scripts/encode.js importScript('User:Qwerfjkl/scripts/test.js'); // Backlink: User:Qwerfjkl/scripts/test.js importScript('User:Rublov/leadcaps.js'); // Backlink: User:Rublov/leadcaps.js //importScript('User:Salix alba/TDSkell.js'); // Backlink: User:Salix alba/TDSkell.js mw.loader.load(['ext.relatedArticles.readMore.bootstrap', 'ext.relatedArticles.styles']); // Show mobile related articles bar importScript('User:BrandonXLF/WatchDoc.js'); // Backlink: User:BrandonXLF/WatchDoc.js //importScript('User:EpochFail/wikignome.js'); // Backlink: User:EpochFail/wikignome.js }); importScript('User:Nardog/FriendlyTagFilter.js'); // Backlink: User:Nardog/FriendlyTagFilter.js //importScript('User:Ais523/bracketmatch.js'); // Backlink: User:Ais523/bracketmatch.js //importScript('User:Qwerfjkl/scripts/VEtoggle.js'); // Backlink: User:Qwerfjkl/scripts/VEtoggle.js //importScript('User:Eizen/SkinSwitcher.js'); // Backlink: User:Eizen/SkinSwitcher.js //importScript('User:Vukky/Scripts/MoreLove.js'); // Backlink: User:Vukky/Scripts/MoreLove.js //importScript('User:Tol/AutoCleanup.js'); // Backlink: User:Tol/AutoCleanup.js importScript('User:Qwerfjkl/scripts/massReplace.js'); // Backlink: User:Qwerfjkl/scripts/massReplace.js importScript('User:Qwerfjkl/scripts/test2.js'); // Backlink: User:Qwerfjkl/scripts/test2.js importScript('User:Nardog/QuickAccept.js'); // Backlink: User:Nardog/QuickAccept.js importStylesheet('User:Nardog/ButtonizeRollback.css'); importScript('User:NguoiDungKhongDinhDanh/FormattedEditRequest.js'); // Backlink: User:NguoiDungKhongDinhDanh/FormattedEditRequest.js importScript('User:Nardog/QuickRollback.js'); // Backlink: User:Nardog/QuickRollback.js importScript('User:Enterprisey/set-js-prefs.js'); // Backlink: User:Enterprisey/set-js-prefs.js //importScript('User:Enterprisey/user-script-helper.js'); // Backlink: User:Enterprisey/user-script-helper.js if (!mw.config.get('wgPageName').match(/Categories_for_discussion\/Log/i)) { importScript('User:Alexis Jazz/Factotum.js'); // Backlink: User:Alexis Jazz/Factotum.js } else { var LoadCFDDelay = setInterval(function { clearInterval(LoadCFDDelay); importScript('User:Alexis Jazz/Factotum.js'); },10000); // 10 seconds } if ( typeof window.FTTModules== 'undefined' ) { window.FTTModules=[]; } window.FTTModules.push({'load':['afterOpenForm'],'buttonLabel':'Paste','buttonFunc':function{	navigator.clipboard.readText.then(text => FTT.UITextInput.encapsulateContent(text, '')); }}); // Basic lint highlighter; works for anything (even comment editor); the highlighted error will need to be corrected before the next one is displayed window.FTTModules.push({'load':['afterOpenForm'],'buttonLabel':'Lint','buttonFunc':function{

const url = "https://en.wikipedia.org/api/rest_v1/transform/wikitext/to/lint/"; const data = { wikitext: FTT.UITextInput.getValue };

fetch(url, { method: 'POST',  headers: {    'Content-Type': 'application/json'  },  body: JSON.stringify(data) }) .then(response => { if (!response.ok) {    throw new Error('Network response was not ok ' + response.statusText);  }  return response.json; }) .then(data => { FTT.UITextInput.selectRange(data[0].dsr[0], data[0].dsr[1]); }) .catch(error => { console.error('There has been a problem with your fetch operation:', error); });

}});

//Taken from User:NguoiDunfKnongDinhDanh/common.js /*window.FTTModules.push({	'load': ['afterOpenForm'],	'buttonLabel': 'JSON?',	'selectionFunc': function(string) {		try {			return JSON.stringify(JSON.parse(string), null, '\t');		} catch (error) {			alert('Invalid JSON.');			return string;		}	} });*/ //Factotum module to insert common reply templates // window.FTTModules.push({'load':['afterOpenForm'],'afterOpenFormFunc':function{ FTT.MD.replyTemplates = {}; FTT.MD.replyTemplates.int = FTT.loadedModulesInt; window.FTTModules[FTT.MD.replyTemplates.int].extraUI = new OO.ui.DropdownInputWidget({label:'Reply templates',options:[ {data:'',label:'Reply templates'},{data:'support',label:'Support'},{data:'oppose',label:'Oppose'}, {data:'neutral',label:'Neutral'}, {data:'doing',label:'Doing'}, {data:'done',label:'Done'}, {data:'notdone',label:'Not done'}, {data:'pending',label:'Pending'} ]}); window.FTTModules[FTT.MD.replyTemplates.int].extraUI.on('change',function{ FTT.MD.replyTemplates.replyInsertsValue = window.FTTModules[FTT.MD.replyTemplates.int].extraUI.getValue; FTT.replyInsertsBefore = FTT.MD.replyTemplates.replyInsertsValue; FTT.replyInsertsAfter = ''; FTT.UITextInput.encapsulateContent(FTT.replyInsertsBefore,FTT.replyInsertsAfter); }); }}); // //importScript('User:Qwerfjkl/scripts/autoCleanup.js'); // Backlink: User:Qwerfjkl/scripts/autoCleanup.js importScript('User:BrandonXLF/SubpageMover.js'); // Backlink: User:BrandonXLF/SubpageMover.js importScript('meta:User:Indic-TechCom/Script/massMover.js'); // Backlink: meta:User:Indic-TechCom/Script/massMover.js importScript('User:10nm/beta.js'); // Backlink: User:10nm/beta.js mw.loader.load( 'https://meta.wikimedia.org/wiki/User:NguoiDungKhongDinhDanh/CodeAjaxEditor.js?action=raw&ctype=text/javascript' ); // Backlink: m:User:NguoiDungKhongDinhDanh/CodeAjaxEditor.js mw.loader.load( '/w/index.php?title=MediaWiki:Gadget-wide-vector-2022.css&action=raw&ctype=text/css', 'text/css' ); // Backlink: MediaWiki:Gadget-wide-vector-2022.css importScript('User:Ingenuity/AntiVandal.js'); // Backlink: User:Ingenuity/AntiVandal.js importScript('User:NguoiDungKhongDinhDanh/AjaxLoader.js'); // Backlink: User:NguoiDungKhongDinhDanh/AjaxLoader.js //importScript('User:Σ/Testing facility/Archiver.js'); // Backlink: User:Σ/Testing facility/Archiver.js importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: User:Ahecht/Scripts/pageswap.js // importScript('User:Jdlrobson/Gadget-trending-edits.js'); // Backlink: User:Jdlrobson/Gadget-trending-edits.js /*importScript('User:Qwerfjkl/scripts/search-shortcuts.js'); // Backlink: User:Guarapiranga/search-shortcuts.js var expansions = { "wp:afd": "WP:Articles for deletion", "wp:tfd": "WP:Templates for discussion/Log", "wp:cfd": "WP:Categories for discussion/Log", "wp:rfd": "WP:Redirects for discussion/Log", "wp:ffd": "WP:Files for discussion/Log", "wp:mfd": "WP:Miscellany for deletion", "wp:drv": "WP:Deletion review", "wp:mrv": "WP:Move review", "wp:pr" : "WP:Peer review", "wp:gar": "WP:Good article reassessment", "wp:fac": "WP:Featured article candidates", "wp:rfa": "WP:Requests for adminship", "wp:rfb": "WP:Requests for bureaucratship", "wp:rfc": "WP:Requests for comment", "wp:brfa": "WP:Bots/Requests for approval", "template:dykn": "Template:Did you know nominations",

// namespaces "t": "Template", "c": "Category", "u": "User", "h": "Help", "tt": "Template talk", "ct": "Category talk", "ut": "User talk", "ht": "Help talk",

};*/ importScript('User:Awesome Aasim/CatMan.js'); // Backlink: User:Awesome Aasim/CatMan.js // importScript('User:Vikipolimer/Adiutor.js'); // Backlink: User:Vikipolimer/Adiutor.js importScript('User:Qwerfjkl/scripts/CFDlister.js'); // Backlink: User:Qwerfjkl/scripts/CFDlister.js // importScript('User:TheresNoTime/enableRealTimePreview.js'); // Backlink: User:TheresNoTime/enableRealTimePreview.js mw.loader.getScript('//he.wikipedia.org/w/index.php?title=mediawiki:סקריפטים/88.js&action=raw&ctype=text/javascript'); // Backlink: User:קיפודנחש/wathlistWatcher.js importScript('User:Terasail/HeaderIcons.js'); // Backlink: User:Terasail/HeaderIcons.js //importScript('User:Alexis Jazz/Kill-It-With-Fire.js'); // Backlink: User:Alexis Jazz/Kill-It-With-Fire.js //mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Uziel302/typo.js&action=raw&ctype=text/javascript'); //importScript('User:Ingenuity/cleaner.js'); // Backlink: User:Ingenuity/cleaner.js importScript('User:DannyS712/Cat links.js'); // Backlink: User:DannyS712/Cat links.js //importScript('User:Qwerfjkl/scripts/convertAbbreviations.js'); // Backlink: User:Qwerfjkl/scripts/convertAbbreviations.js importScript('User:Enterprisey/archiver.js'); // Backlink: User:Enterprisey/archiver.js importScript('User:1234qwer1234qwer4/shortdescs-in-category.js'); // Backlink: User:1234qwer1234qwer4/shortdescs-in-category.js importScript('MediaWiki:Gadget-watchlist-notice-core.js'); importScript('User:Headbomb/citations.js'); // Backlink: User:Headbomb/citations.js importScript('User:Qwerfjkl/scripts/hideUnwantedCategories.js'); // Backlink: User:Qwerfjkl/scripts/hideUnwantedCategories.js //importScript('User:Qwerfjkl/scripts/shortdescs-in-category.js'); // Backlink: User:Qwerfjkl/scripts/shortdescs-in-category.js importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: User:MPGuy2824/MoveToDraft.js importScript('User:Nardog/PasteToCommons.js'); // Backlink: User:Nardog/PasteToCommons.js $('#p-lang-btn-sticky-header > span:nth-of-type(2)').hide; importScript('User:Eejit43/scripts/AFCRHS.js'); // Backlink: User:Eejit43/scripts/AFCRHS.js // Doesn't work?: importScript('User:Ingenuity/ReferenceEditor.js'); // Backlink: User:Ingenuity/ReferenceEditor.js var SearchRegexes = { "^[Tt]:": "Template:", "^[Cc]:": "Category:", "^[Uu]:": "User:", "^[Hh]:": "Help:", "^[Tt][Tt]:": "Template talk:", "^[Cc][Tt]:": "Category talk:", "^[Uu][Tt]:": "User talk:", "^[Hh][Tt]:": "Help talk:" }; importScript('User:Ahecht/Scripts/TemplateSearch.js'); // Backlink: User:Ahecht/Scripts/TemplateSearch.js importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: User:Eejit43/scripts/redirect-helper.js importScript('User:Nardog/CatChangesViewer.js'); // Backlink: User:Nardog/CatChangesViewer.js //importScript('User:Qwerfjkl/.js'); // Backlink: User:Qwerfjkl/.js importScript('User:Nardog/CopyCodeBlock.js'); // Backlink: User:Nardog/CopyCodeBlock.js importScript('User:EpochFail/ArticleQuality.js'); // Backlink: User:EpochFail/ArticleQuality.js importScript('User:Qwerfjkl/scripts/copySectionLink.js'); // Backlink: User:Qwerfjkl/scripts/copySectionLink.js importScript('User:Enterprisey/undo-last-edit.js'); // Backlink: User:Enterprisey/undo-last-edit.js importScript('User:PerfektesChaos/js/lintHint/r.js'); // Backlink: User:PerfektesChaos/js/lintHint/r.js importScript('User:Qwerfjkl/scripts/EasyWikiDev.js'); // Backlink: User:Qwerfjkl/scripts/EasyWikiDev.js importScript('User:Nardog/RefRenamer.js'); // Backlink: User:Nardog/RefRenamer.js importScript('User:Qwerfjkl/scripts/massCFDS.js'); // Backlink: User:Qwerfjkl/scripts/massCFDS.js importScript('User:Qwerfjkl/scripts/massXFD.js'); // Backlink: User:Qwerfjkl/scripts/massXFD.js