User:Danre98/vector.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:Danre98/vector.css. |
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:%C3%9Ejarkur/NeverUseMobileVersion.js&action=raw&ctype=text/javascript" );
importScript('User:Dr_pda/prosesize.js'); // User:Dr pda/prosesize
/*** BEGIN WIKIBREAK PLANNER
$(document).ready(function() {
var date1 = { year: 2020, month: 12, day: 23};
var time1 = { hours: 10, minutes: 0, seconds: 0 };
var date2 = { year: 2021, month: 1, day: 15};
var time2 = { hours: 6, minutes: 0, seconds: 0 };
var currentDate = new Date();
var breakStart = new Date(
date1.year,date1.month-1,date1.day,time1.hours,time1.minutes,time1.seconds);
var enforcedBreakEnd = new Date(
date2.year,date2.month-1,date2.day,time2.hours,time2.minutes,time2.seconds);
if ((currentDate >= breakStart) && (currentDate <= enforcedBreakEnd)) {
alert("Blocked until "+enforcedBreakEnd.toLocaleString()
+ "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
location = "//"+location.host+"/w/index.php?title="
+ "Special:Userlogout&returnto=Main_Page";
}
});
END WIKIBREAK PLANNER ***/
//importScript('User:Ravid_ziv/highlightSearch.js'); // Backlink: [[User:Ravid_ziv/highlightSearch.js]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]]
//importScript('User:Kaniivel/RefConsolidate_start.js'); // Backlink: [[User:Kaniivel/RefConsolidate_start.js]]
importScript('User:BrandonXLF/FindSources.js'); // Backlink: [[User:BrandonXLF/FindSources.js]]
//importScript('User:APerson/watchlist-notice.js'); // Backlink: [[User:APerson/watchlist-notice.js]]
importScript('User:Enterprisey/strike-archived.js'); // Backlink: [[User:Enterprisey/strike-archived.js]]
importScript('User:Enterprisey/diff-context.js'); // Backlink: [[User:Enterprisey/diff-context.js]]
//importScript('User:N8wilson/AQFetcher.js'); // Backlink: [[User:N8wilson/AQFetcher.js]]
//importStylesheet('User:N8wilson/AQFetcher.css'); //Taken from the documentation for the above script
//importStylesheet('User:Danre98/AQcolors.css');
importScript('User:Evad37/duplinks-alt.js'); // Backlink: [[User:Evad37/duplinks-alt.js]]
//importScript('User:Galobtter/scripts/adminhighlighter.js'); // Backlink: [[User:Galobtter/scripts/adminhighlighter.js]]
importScript('User:Pythoncoder/Scripts/voteSymbols.js'); // Backlink: [[User:Pythoncoder/Scripts/voteSymbols.js]]
importScript('User:Mvolz/displayContributions.js'); // Backlink: [[User:Mvolz/displayContributions.js]]
//importScript('User:DannyS712/De-Stub.js'); // Backlink: [[User:DannyS712/De-Stub.js]]
importScript('User:Danski454/unwatch.js'); // Backlink: [[User:Danski454/unwatch.js]]
importScript('User:SD0001/hide-reverted-edits.js'); // Backlink: [[User:SD0001/hide-reverted-edits.js]]
importScript('User:SD0001/DYK-helper.js'); // [[User:SD0001/DYK-helper.js]]
//importScript('User:SD0001/UnassessedArticleLinks.js'); // Backlink: [[User:SD0001/UnassessedArticleLinks.js]]
//Copied and modified from the above. Does not autostart rater.
/*** commented out as not needed anymore
$.when(mw.loader.using('mediawiki.util'), $.ready).then(function() {
if (mw.config.get('wgPageName').indexOf('Category:Unassessed') === 0 ||
mw.config.get('wgPageName').indexOf('Category:Unknown-importance') === 0) {
$('.mw-category ul li a').each(function(i,e) {
e.href = e.href.replace('/wiki/Talk:', '/wiki/').replace(/$/, '?redirect=no');
e.target = '_blank';
});
}
setTimeout(function() {
if (mw.util.getParamValue('autostartrater')) {
$('#ca-rater').click();
}
}, 1000);
});
***/
importScript('User:SD0001/shortdescs-in-category.js'); // Backlink: [[User:SD0001/shortdescs-in-category.js]]
importScript('User:Evad37/TimestampDiffs.js'); // [[User:Evad37/TimestampDiffs]]
//importScript('User:Equazcion/ContribsTabVector.js'); // Backlink: [[User:Equazcion/ContribsTabVector.js]]
//var contribsTab = false;
//var contribsTabStatsName = "Stats";
/***importScript('User:Enterprisey/CustomSummaryPresets.js'); // Backlink: [[User:Enterprisey/CustomSummaryPresets.js]]
var customNamespaceSummaries = {
'0': [
"Fixed cite error",
"New redirect",
"Added wikilinks",
],
};***/
//importScript('User:Þjarkur/NeverUseMobileVersion.js'); // Backlink: [[User:Þjarkur/NeverUseMobileVersion.js]]
//importScript('User:BrandonXLF/GreenRedirects.js'); // Backlink: [[User:BrandonXLF/GreenRedirects.js]]
//mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&maxage=86400&ctype=text/javascript" );
//importScript('User:Enterprisey/reply-link.js'); // Backlink: [[User:Enterprisey/reply-link.js]]
importScript('User:TheTVExpert/scriptDocumentationTabs.js'); // Backlink: [[User:TheTVExpert/scriptDocumentationTabs.js]]
//('User:BrandonXLF/QuickEdit.js'); // Backlink: [[User:BrandonXLF/QuickEdit.js]]
importScript('User:Evad37/EditWarChecker.js'); // Backlink: [[User:Evad37/EditWarChecker.js]]
importScript('User:Evad37/WikidataWatchlistLabels.js'); // Backlink: [[User:Evad37/WikidataWatchlistLabels.js]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
/***
$.when( mw.loader.using('mediawiki.util'), $.ready ).then( function() {
mw.util.addPortletLink( 'p-navigation', '/wiki/User:Danre98/articlelook', 'check');
mw.util.addPortletLink( 'coll-print_export', 'https://en.wikipedia.org/wiki/Wikipedia:Template_messages', 'Templates');
mw.util.addPortletLink( 'coll-print_export', 'https://en.wikipedia.org/wiki/Wikipedia:List_of_infoboxes', 'infoboxes');
} );
***/
//Obtained from User:David Condrey/bookmarknav
/***var new_NavTop = [
{
label: "Articles for Deletion",
url: "/wiki/Wikipedia:AFD",
index: 7
},
{
label: "Articles for Creation",
url: "/wiki/Category:Pending_AfC_submissions",
index: 8
},
];
var NavTop = document.getElementById("p-personal").getElementsByTagName("ul")[0];
for (var i = 0; i < new_NavTop.length; i++) {
var newListItem = document.createElement("li");
var newLink = document.createElement("a");
newLink.setAttribute("href", new_NavTop[i].url);
if (new_NavTop[i].hasOwnProperty("title")) {
newLink.setAttribute("title", new_NavTop[i].title);
}
newLink.appendChild(document.createTextNode(new_NavTop[i].label));
newListItem.appendChild(newLink);
if (new_NavTop[i].hasOwnProperty("index")) {
NavTop.insertBefore(newListItem, NavTop.childNodes[new_NavTop[i].index]);
} else {
NavTop.appendChild(newListItem);
}
}***/
//importScript('User:Evad37/ToDoLister.js'); // Backlink: [[User:Evad37/ToDoLister.js]]
//importScript('User:SD0001/easy-merge.js'); // Backlink: [[User:SD0001/easy-merge.js]]
importScript('User:The Earwig/copyvios.js'); // Backlink: [[User:The Earwig/copyvios.js]]
importScript('User:Guywan/Scripts/ConfirmLogout.js'); // Backlink: [[User:Guywan/Scripts/ConfirmLogout.js]]
importScript('User:SD0001/W-Ping.js'); // Backlink: [[User:SD0001/W-Ping.js]]
importScript('User:Terasail/Edit Request Tool.js'); // Backlink: [[User:Terasail/Edit Request Tool.js]]
//importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript( 'User:Novem Linguae/Scripts/CiteHighlighter.js' ); // Backlink: [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
importScript( 'User:Novem Linguae/Scripts/DetectSNG' ); // Backlink: [[User:Novem Linguae/Scripts/DetectSNG]]
importScript( 'User:Evad37/OneClickArchiver.js' ); // Backlink: [[User:Evad37/OneClickArchiver.js]]