Jump to content

User:Celestina007/common.js

From Wikipedia, the free encyclopedia
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.
importScript('User:Lupin/recent2.js'); 
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]

$(document).ready(deletionChecker);
encodedTitle = encodeURIComponent(mw.config.get("wgPageName"));

function deletionChecker()
{
	var encodedTitle = encodeURIComponent(mw.config.get("wgPageName"));
	var delRequest = $.get("/w/api.php?action=query&list=logevents&format=json&leprop=ids&letype=delete&letitle=" + encodedTitle + "&lelimit=1", null, delCallback, "json");
	if(mw.config.get("wgCanonicalNamespace") == "")
	{
		var afdRequest = $.get("/w/api.php?action=query&list=allpages&format=json&apfrom=Articles%20for%20deletion%2F" + encodedTitle + "&apto=Articles%20for%20deletion%2F" + encodedTitle + "&apnamespace=4&aplimit=1", null, afdCallback, "json");
	}
}
function delCallback(delResults)
{
	if(delResults.query.logevents[0] != null)
	{	
/*
		var searchNode = document.createElement("a");
		searchNode.href = mw.config.get("wgServer") + "/w/index.php?title=Special%3ALog&type=delete&page=" + encodedTitle;
		searchNode.target = "_blank";
		searchNode.innerHTML = "<span style='font-size:x-small;'>prev dels</span>";
		document.getElementById("firstHeading").appendChild(searchNode);
*/
		var searchNode = " <a id='prevDelsLink' target='_blank'><span style='font-size:x-small;'>prev dels</span></a>"
		$("#firstHeading").append(searchNode);
		$("#prevDelsLink").attr("href", mw.config.get("wgServer") + "/w/index.php?title=Special%3ALog&type=delete&page=" + encodedTitle);
	}
}
function afdCallback(afdResults)
{
	if(afdResults.query.allpages[0] != null)
	{
/*
		var searchNode = document.createElement("a");
		searchNode.href = mw.config.get("wgServer") + "/w/index.php?title=Special%3AAllPages&from=Articles+for+deletion%2F" + encodedTitle + "&to=Articles+for+deletion%2F" + encodedTitle + "+%289z%29&namespace=4";
		searchNode.target = "_blank";
		searchNode.innerHTML = "<span style='font-size:x-small;'>prev AfDs</span>";
		document.getElementById("firstHeading").appendChild(searchNode);
*/

		var searchNode = " <a id='prevAFDsLink' target='_blank'><span style='font-size:x-small;'>prev AfDs</span></a>"
		$("#firstHeading").append(searchNode);
$("#prevAFDsLink").attr("href", mw.config.get("wgServer") + "/w/index.php?title=Special%3AAllPages&from=Articles+for+deletion%2F" + encodedTitle + "&to=Articles+for+deletion%2F" + encodedTitle + "+%289z%29&namespace=4");
	}
} 

importScript( 'User:Equazcion/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
importScript('User:DannyS712/copyvio-check.js'); //Linkback: [[User:DannyS712/copyvio-check.js]] 
importScript('User:Primefac/revdel.js'); // [[User:Primefac/revdel]] 
importScript('User:Keegan/MarkBlocked.js');
importScript('User:Epicgenius/AWB script toolbar.js'); //Linkback: [[User:Epicgenius/AWB script toolbar.js]] 
importScript('User:Enterprisey/quick-before.js'); //Linkback: [[User:Enterprisey/quick-before.js]] 
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]] 

/**
 * SWViewer
 * See [https://meta.wikimedia.org/wiki/SWViewer]
 * Authored by Tulsi Bhagat [https://meta.wikimedia.org/wiki/User:Tulsi_Bhagat]
 * Shortcut key [alt-shift-v]
 */
mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//tools.wmflabs.org/swviewer/',
	'SWViewer',
	't-swviewer',
	'Launch SWViewer',
	'v',
	'#t-info'
);
});

importScript('User:Lourdes/AfDList.js'); //Linkback: [[User:Lourdes/AfDList.js]] 
importScript('User:Uziel302/typo.js'); // Backlink: [[User:Uziel302/typo.js]] 
importScript( 'User:DannyS712/SATG.js' );// [[User:DannyS712/SATG.js]] 
importScript('User:DannyS712/Logs.js'); //Linkback: [[User:DannyS712/Logs.js]] 
importScript('User:Danski454/stubsearch.js'); //Linkback: [[User:Danski454/stubsearch.js]] 
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //Linkback: [[User:Ohconfucius/script/MOSNUM dates.js]] 
importScript( 'User:Ahecht/Scripts/pageswap.js' ); // Backlink: [[User:Ahecht/Scripts/pageswap]] 
importScript('User:Insertcleverphrasehere/copyvios.js'); //Linkback: [[User:Insertcleverphrasehere/copyvios.js]] 
importScript('User:Ale jrb/Scripts/statusCheck.js');
importScript( 'User:Js/ajaxPreview.js' ); // Backlink: [[User:Js/ajaxPreview.js]] 
importScript( 'User:Anne drew Andrew and Drew/PageDetails.js' ); // Backlink: [[User:Anne drew Andrew and Drew/PageDetails.js]] 
importScript( 'User:Theopolisme/Scripts/adminhighlighter.js' ); // Backlink: [[User:Theopolisme/Scripts/adminhighlighter.js]] 

// install reply-link
importScript( 'User:Enterprisey/reply-link.js' ); // Backlink: [[User:Enterprisey/reply-link.js]] 

importScript('User:Enterprisey/delsort.js'); //Linkback: [[User:Enterprisey/delsort.js]] 

importScript( 'User:Amorymeltzer/userinfo.js' ); // Backlink: [[User:Amorymeltzer/userinfo.js]] 

importScript('User:Lingzhi/reviewsourcecheck.js'); // Backlink: [[User:Lingzhi/reviewsourcecheck.js]] 

importScript('User:Headbomb/citations.js'); // Backlink: [[User:Headbomb/citations.js]] 

importScript('User:BrandonXLF/FFUHelper.js'); // Backlink: [[User:BrandonXLF/FFUHelper.js]] 

importScript('User:קיפודנחש/viewstats.js'); // Backlink: [[User:קיפודנחש/viewstats.js]] 

importScript('User:Amorymeltzer/crathighlighter.js'); //Linkback: [[User:Amorymeltzer/crathighlighter.js]] 

importScript('User:SD0001/find-archived-section.js'); //Linkback: [[User:SD0001/find-archived-section.js]] 

importScript('User:Ais523/stubtagtab2.js'); //Linkback: [[User:Ais523/stubtagtab2.js]] 

importScript('User:PrimeHunter/My subpages.js'); //Linkback: [[User:PrimeHunter/My subpages.js]] 

importScript('User:Omni Flames/PendingChangesLink.js'); //Linkback: [[User:Omni Flames/PendingChangesLink.js]] 

importScript('User:Evad37/SPS.js'); //Linkback: [[User:Evad37/SPS.js]] 

importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]

importScript('User:Alex 21/script-functions.js');

importScript('User:Alex 21/script-redlinks.js');

importScript( 'User:Danski454/WhoisSidebar.js' ); // Backlink: [[User:Danski454/WhoisSidebar.js]] 

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); 

importScript('User:Evad37/EditWarChecker.js'); // Backlink: [[User:Evad37/EditWarChecker.js]] 

importScript('User:SD0001/StubSorter.js'); // [[User:SD0001/StubSorter.js]] 

importScript( 'User:Bradv/Scripts/Superlinks.js' ); // Backlink: [[User:Bradv/Scripts/Superlinks.js]] 

importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]] 

importScript('User:Ohconfucius/script/formatgeneral.js'); //Linkback: [[User:Ohconfucius/script/formatgeneral.js]] 

importScript( 'User:DannyS712/PageMoverClosure.js' );// [[User:DannyS712/PageMoverClosure.js]] 

importScript( 'User:DannyS712/Draft no cat.js' );// [[User:DannyS712/Draft no cat.js]] 

importScript('User:Oshwah/NewUserPatrol.js'); //Backlink: [[User:Oshwah]] 

importScript('User:Epicgenius/sortcategories.js'); // Backlink: [[User:Epicgenius/sortcategories.js]] 

importScript('Wikipedia:AutoEd/complete.js'); // Backlink: [[Wikipedia:AutoEd/complete.js]]

importScript('User:Waldyrious/formatcitations.js'); // Backlink: [[User:Waldyrious/formatcitations.js]]

importScript('User:Erutuon/scripts/footnoteCleanup.js'); // Backlink: [[User:Erutuon/scripts/footnoteCleanup.js]]

importScript('User:Danski454/w2wFinder.js'); // Backlink: [[User:Danski454/w2wFinder.js]]

importScript('User:Meteor_sandwich_yum/Tidy_citations.js'); // Backlink: [[User:Meteor_sandwich_yum/Tidy_citations.js]]

importScript('User:TheJJJunk/ARA.js'); // Backlink: [[User:TheJJJunk/ARA.js]] 

importScript('User:Enterprisey/show-abusefilter-hits.js'); // Backlink: [[User:Enterprisey/show-abusefilter-hits.js]]

importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]] 

importScript('User:Timotheus Canens/spihelper.js'); // Backlink: [[User:Timotheus Canens/spihelper.js]] 

mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' ); 

importScript('User:PhantomTech/scripts/AFCRHS.js'); //Linkback: [[User:PhantomTech/scripts/AFCRHS.js]] 

importScript('User:Howcheng/quickimgdelete.js'); //Linkback: [[User:Howcheng/quickimgdelete.js]] 

importScript('User:Anomie/unsignedhelper.js'); //Linkback: [[User:Anomie/unsignedhelper.js]] 

importScript('User:Gary/nominations_viewer.js'); // Backlink: [[User:Gary/nominations_viewer.js]] 

importScript('User:L293D/AFCRHS.js'); //Linkback: [[User:L293D/AFCRHS.js]] 

importScript('User:Ale jrb/Scripts/csdhelper.js'); //Linkback: [[User:Ale jrb/Scripts/csdhelper.js]] 

importScript('User:Awesome Aasim/xfdvote.js'); // Backlink: [[User:Awesome Aasim/xfdvote.js]] 

importScript('User:Ohconfucius/script/formatgeneral.js'); // [[User:Ohconfucius/script/formatgeneral.js]] 

importScript('User:Erutuon/scripts/imageSize.js'); // Backlink: [[User:Erutuon/scripts/imageSize.js]] 

importScript( 'User:DannyS712/SATG.js' );// [[User:DannyS712/SATG.js]] 

importScript('User:Evad37/livenotifications.js'); //Linkback: [[User:Evad37/livenotifications.js]] Added by Script installer

importScript('User:Technical_13/Scripts/OneClickArchiver.js');// [[User:Technical_13/Scripts/OneClickArchiver]]

importScript( 'User:Enterprisey/cv-revdel.js' ); // Backlink: [[User:Enterprisey/cv-revdel.js]] 


importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user

importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse

importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse

importScript("User:Ocaasi/WikiLoveinstallscript.js");// Adds Teahouse Badges to WikiLove 

importScript('User:DannyS712/EasyGAReview.js'); // Backlink: [[User:DannyS712/EasyGAReview.js]] 

importScript('User:Enterprisey/parsoid-round-trip.js'); // Backlink: [[User:Enterprisey/parsoid-round-trip.js]] 

importScript('User:Evad37/TimestampDiffs.js'); // Backlink: [[User:Evad37/TimestampDiffs.js]] 

importScript('User:Enterprisey/fancy-diffs.js'); // Backlink: [[User:Enterprisey/fancy-diffs.js]] 

importScript('User:DannyS712/PermaLinkSection.js'); // Backlink: [[User:DannyS712/PermaLinkSection.js]] 

importScript('User:DannyS712/ContribSearch.js'); // Backlink: [[User:DannyS712/ContribSearch.js]]

importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Backlink: [[User:Writ Keeper/Scripts/deletionFinder.js]]

importScript( 'User:Bradv/Scripts/Superlinks.js' ); // Backlink: [[User:Bradv/Scripts/Superlinks.js]] 

mw.loader.load('//en.wikipedia.org/wiki/User:Novem_Linguae/Scripts/DetectSNG'); // Backlink: [[User:Novem Linguae/Scripts/DetectSNG.js]] 

importScript( 'User:Novem Linguae/Scripts/NPPLinks.js' ); // Backlink: [[User:Novem Linguae/Scripts/NPPLinks.js]] 

importScript('User:Bradv/SearchLinks.js'); // Backlink: [[User:Bradv/SearchLinks.js]]
importScript('User:Þjarkur/Highlight homographs in title.js'); 

importScript('User:Enterprisey/fancy-diffs.js'); // Backlink: [[User:Enterprisey/fancy-diffs.js]] 

importScript('User:Blablubbs/search-shortcuts.js'); // Backlink: [[User:Blablubbs/search-shortcuts.js]] 

importScript( 'User:Enterprisey/diff-permalink.js' ); // Backlink: [[User:Enterprisey/diff-permalink.js]] 

importScript( 'User:Enterprisey/undo-last-edit.js' ); // Backlink: [[User:Enterprisey/undo-last-edit.js]] 

importScript( 'User:DannyS712/Easy-link.js' );// [[User:DannyS712/Easy-link.js]]

importScript('User:Kephir/gadgets/sagittarius.js'); // [[User:Kephir/gadgets/sagittarius]] 

importScript('User:PrimeHunter/Source links.js'); // Backlink: [[User:PrimeHunter/Source links.js]] 

importScript('User:DannyS712/DiscussionCloser.js/sandbox.js'); // Backlink: [[User:DannyS712/DiscussionCloser.js/sandbox.js]]

importScript( 'User:DannyS712/Logs.js' );// [[User:DannyS712/Logs.js]] 

importScript( 'User:Equazcion/SidebarHistoryTools.js' ); // Backlink: [[User:Equazcion/SidebarHistoryTools.js]] 
mw.loader.load( '/w/index.php?title=User:Titodutta/scripts/SearchHelper.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Titodutta/scripts/SearchHelper.js]] 

importScript("User:Eizen/PageCreator.js");

importScript( 'User:DannyS712/DiscussionCloser.js' );// [[User:DannyS712/DiscussionCloser.js]] 

importScript('User:SD0001/quickViewDeleted.js'); // Backlink: [[User:SD0001/quickViewDeleted.js]] 

importScript('User:Bradv/endlesscontribs.js'); // Backlink: [[User:Bradv/endlesscontribs.js]] 

importScript('User:Ebrahames/Advisor.js'); // Backlink: [[User:Ebrahames/Advisor.js]] 

mw.loader.load( '/w/index.php?title=User:GhostInTheMachine/SortWhatLinksHere.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:GhostInTheMachine/SortWhatLinksHere.js]]

if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere')
	importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // [[User:V111P/js/whatLinksHereLinkFilter.js]]

importScript( 'User:Epicgenius/forceineditbox.js' ); // Backlink: [[User:Epicgenius/forceineditbox.js]] 

importScript( 'User:Writ Keeper/Scripts/googleTitle.js' ); // Backlink: [[User:Writ Keeper/Scripts/googleTitle.js]] 

//deprecated:
//importScript("User:PleaseStand/segregate-refs.js"); deprecated? 

importScript('User:BrandonXLF/ShowRevisionID.js'); // Backlink: [[User:BrandonXLF/ShowRevisionID.js]] 

importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]] 

importScript('User:DannyS712/deOrphan.js'); // Backlink: [[User:DannyS712/deOrphan.js]] 

importScript('User:Mr. Stradivarius/gadgets/DiffOnly.js') // Linkback: [[User:Mr. Stradivarius/gadgets/DiffOnly.js]] 

importScript('User:PrimeHunter/Search_sister_projects.js'); // Linkback: [[User:PrimeHunter/Search sister projects.js]] 

importScript( 'User:SuperHamster/CiteUnseen.js' ); // Backlink: [[User:SuperHamster/CiteUnseen.js]] 

importScript("User:Jfmantis/pagesCreated.js"); // [[User:Jfmantis/pagesCreated.js]] 

importScript( 'User:DannyS712/SectionRemover.js' );// [[User:DannyS712/SectionRemover.js]] 

importScript('User:Danski454/undo-move.js'); //Linkback: [[User:Danski454/undo-move.js]] 

importScript('User:Mattflaschen/CommonsHelper Labs.js'); 

importScript('User:Kephir/gadgets/table-editor.js'); // Backlink: [[User:Kephir/gadgets/table-editor.js]] 

importScript('User:Ajbura/anrfc-lister.js'); // Backlink: [[User:Ajbura/anrfc-lister.js]]

importScript( 'User:MusikAnimal/responseHelper.js' ); // Backlink: [[User:MusikAnimal/responseHelper.js]] 

importScript('User:Kephir/gadgets/table-editor.js'); //Linkback: [[User:Kephir/gadgets/table-editor.js]] Added by Script installer 

importScript('User:Enterprisey/offset-history-link.js'); // Backlink: [[User:Enterprisey/offset-history-link.js]] 

importScript('User:Novem Linguae/Scripts/DetectPromo.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectPromo.js]] 

importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Backlink: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]] 

importScript('User:Fred Gandt/confirmLogout.js'); // Backlink: [[User:Fred Gandt/confirmLogout.js]]
importScript('User:SD0001/deleted-metadata-link.js'); //Linkback: [[User:SD0001/deleted-metadata-link.js]] Added by Script installer

// [[File:Krinkle_Global_SUL.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript'); 

importScript("User:GeneralNotability/ip-ext-info.js")
importScript("User:GeneralNotability/moremenu-proxy.js") 

//Filters
mw.loader.load( '/w/index.php?title=User:Suffusion_of_Yellow/filterNotes.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Suffusion of Yellow/filterNotes.js]]
importScript("User:GeneralNotability/edit-filter-hit-analyzer.js")
importScript( 'User:Suffusion of Yellow/effp-helper.js' );// [[User:Suffusion of Yellow/effp-helper.js]]
importScript('User:BrandonXLF/TodoList.js'); //Linkback: [[User:BrandonXLF/TodoList.js]] Added by Script installer
importScript('User:SD0001/easy-merge.js'); //Linkback: [[User:SD0001/easy-merge.js]] Added by Script installer
importScript('User:Nardog/IPAInput.js'); //Linkback: [[User:Nardog/IPAInput.js]] Added by Script installer
importScript('User:Salix alba/Citoid.js'); //Linkback: [[User:Salix alba/Citoid.js]] Added by Script installer
importScript('User:DemonDays64/Scripts/Dumb quotes.js'); //Linkback: [[User:DemonDays64/Scripts/Dumb quotes.js]] Added by Script installer
importScript('User:BrandonXLF/WhatLinksHere.js'); //Linkback: [[User:BrandonXLF/WhatLinksHere.js]] Added by Script installer
importScript('User:Lourdes/Backlinks.js'); //Linkback: [[User:Lourdes/Backlinks.js]] Added by Script installer
importScript('User:Bradv/endlesscontribs.js'); //Linkback: [[User:Bradv/endlesscontribs.js]] Added by Script installer
importScript('User:Nardog/MoveHistory.js'); //Linkback: [[User:Nardog/MoveHistory.js]] Added by Script installer
importScript('User:SD0001/edits-since-decline.js'); //Linkback: [[User:SD0001/edits-since-decline.js]] Added by Script installer
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //Linkback: [[User:Ohconfucius/script/MOSNUM dates.js]] Added by Script installer
importScript('User:Ohconfucius/script/Sources.js'); //Linkback: [[User:Ohconfucius/script/Sources.js]] Added by Script installer
importScript('User:DannyS712/De-Stub.js'); //Linkback: [[User:DannyS712/De-Stub.js]] Added by Script installer
importScript('User:TheJJJunk/ARA.js'); //Linkback: [[User:TheJJJunk/ARA.js]] Added by Script installer
importScript('User:Waldyrious/formatcitations.js'); //Linkback: [[User:Waldyrious/formatcitations.js]] Added by Script installer
importScript('User:Ohconfucius/script/Sources.js'); //Linkback: [[User:Ohconfucius/script/Sources.js]] Added by Script installer
importScript('User:Meteor sandwich yum/Tidy citations.js'); //Linkback: [[User:Meteor sandwich yum/Tidy citations.js]] Added by Script installer
importScript('User:PerfektesChaos/js/lintHint/r.js'); //Linkback: [[User:PerfektesChaos/js/lintHint/r.js]] Added by Script installer
importScript('User:Ohconfucius/script/formatgeneral.js'); //Linkback: [[User:Ohconfucius/script/formatgeneral.js]] Added by Script installer