Jump to content

User:Chamaemelum/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:Enterprisey/afch-dev.js')
//mw.loader.load('http://localhost:8002/wp-rfa-study.js?' + new Date().getTime());
importScript('User:Enterprisey/unreliable.js');
window.revertAndBlockNoConfirm = true;
window.revertAndBlockIpBlockLength = "1 week";
//window.sciNoConfirm=true;
// SECTION JUMPING FIX
//mw.hook("wikipage.collapsibleContent").add(function(){var e=document.getElementById(decodeURIComponent(window.location.hash.substring(1)).replace(/ /g, "_"));if(e)e.scrollIntoView();});

if( mw.config.get( "wgPageName" ).indexOf( "Special:AbuseLog/" ) === 0 ) {
    $( "table.diff" ).before( $( "<p>" ).text( "Summary: " + $( "tr.mw-abuselog-details-summary div.mw-abuselog-var-value" ).text() ) );
}

// No access key for the Visual Editor edit tab
$.when( $.ready, mw.loader.using( [ "mediawiki.util" ] ) ).then( function () { $( "#ca-ve-edit a" ).each( function ( idx, el ) { el.setAttribute( "accesskey", "" ); $(el).updateTooltipAccessKeys(); } ); } );

// rct settings
window.rctList = [ "Enterprisey" ];

// reply-link settings
window.replyLinkPreloadPing = "button";
window.replyLinkTestMode = true;
window.replyLinkDryRun = "never";
window.replyLinkTestInstantReply = false;
window.replyLinkAutoIndentation = "checkbox";

// POPUPS STUFF
//window.popupOnEditSelection = false;
//window.popupDebugging = true;
//window.popupFixDabs = false;
//window.popupFixRedirs = true;


// preferences for User:Writ Keeper/Scripts/commonHistory
inspectText = "show";
showText = "show";
hideText = "hide";

// User:Enterprisey/simple-notifs pref
window.simpleNotifsOnlyUnread = true;

importScript('User:Writ Keeper/Scripts/commonHistory.js'); // Backlink: [[User:Writ Keeper/Scripts/commonHistory.js]]
//importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
//importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript('User:Enterprisey/user-tabs-on-contribs.js'); // Backlink: [[User:Enterprisey/user-tabs-on-contribs.js]]
var contribsTabStats = false;
window.contribsTabKey = "y";
importScript('User:Enterprisey/ContribsTabVector.js'); // Backlink: [[User:Enterprisey/ContribsTabVector.js]]
importScript('User:Enterprisey/up-one-lvl-kbd.js'); // Backlink: [[User:Enterprisey/up-one-lvl-kbd.js]]
//importScript('User:Enterprisey/hover-edit-section.js'); // Backlink: [[User:Enterprisey/hover-edit-section.js]]
importScript('User:Enterprisey/strike-archived.js'); // Backlink: [[User:Enterprisey/strike-archived.js]]
//importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Enterprisey/search-shortcuts.js'); // Backlink: [[User:Enterprisey/search-shortcuts.js]]
importScript('User:Enterprisey/search-links.js'); // Backlink: [[User:Enterprisey/search-links.js]]
importScript('User:Enterprisey/section-redir-note.js'); // Backlink: [[User:Enterprisey/section-redir-note.js]]
//importScript('User:Enterprisey/commonHistory.js'); // Backlink: [[User:Enterprisey/commonHistory.js]]
importScript('User:Enterprisey/diff-context.js'); // Backlink: [[User:Enterprisey/diff-context.js]]
importScript('User:Enterprisey/page-info-kbd-shortcut.js'); // Backlink: [[User:Enterprisey/page-info-kbd-shortcut.js]]
importScript('User:Enterprisey/simple-notifs.js'); // Backlink: [[User:Enterprisey/simple-notifs.js]]
importScript('User:Enterprisey/superjump.js'); // Backlink: [[User:Enterprisey/superjump.js]]
//importScript('User:Enterprisey/popups.js'); // Backlink: [[User:Enterprisey/popups.js]]
//importScript('User:Enterprisey/user-script-helper.js'); // Backlink: [[User:Enterprisey/user-script-helper.js]]
importScript('User:Enterprisey/undo-last-edit.js'); // Backlink: [[User:Enterprisey/undo-last-edit.js]]
importScript('User:Enterprisey/short-tab-titles.js'); // Backlink: [[User:Enterprisey/short-tab-titles.js]]
importScript('User:Enterprisey/script-installer.js'); // Backlink: [[User:Enterprisey/script-installer.js]]
importScript('User:Enterprisey/user-script-helper.js'); // Backlink: [[User:Enterprisey/user-script-helper.js]]
importScript('User:Enterprisey/offset-history-link.js'); // Backlink: [[User:Enterprisey/offset-history-link.js]]
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]






importScript('User:Enterprisey/link-deleted-revs.js'); // Backlink: [[User:Enterprisey/link-deleted-revs.js]]
importScript('User:Enterprisey/undelete-backlink.js'); // Backlink: [[User:Enterprisey/undelete-backlink.js]]
//importScript('User:Enterprisey/copy-section-link.js'); // Backlink: [[User:Enterprisey/copy-section-link.js]]
importScript('User:Enterprisey/userinfo.js'); // Backlink: [[User:Enterprisey/userinfo.js]]
importScript('User:Enterprisey/fancy-diffs.js'); // Backlink: [[User:Enterprisey/fancy-diffs.js]]
//importScript('User:Σ/Testing_facility/Archiver.js'); // Backlink: [[User:Σ/Testing_facility/Archiver.js]]
mw.loader.load('https://localhost:4443/CustomSummaryPresets.js');
var customGeneralSummaries = [
"aMy first custom edit summary1",
"My second custom edit summary1",
"My first custom edit summary1",
"My second custom edit summary1",
"My first custom edit summary",
"My second custom edit summary",
"My first custom edit summary",
"My second custom edit summary",
"My first custom edit summary",
"My second custom edit summary"
];
var customNamespaceSummaries = {
'0': [
"b"
],
};
importScript( 'User:Writ Keeper/Scripts/commonHistory.js' ); // Backlink: [[User:Writ Keeper/Scripts/commonHistory.js]]
//importScript('User:Ankit18gupta/Editwizard.js'); // Backlink: [[User:Ankit18gupta/Editwizard.js]]
importScript('User:Novem_Linguae/Scripts/VisualEditorEverywhere.js'); // Backlink: [[User:Novem_Linguae/Scripts/VisualEditorEverywhere.js]]
importScript('User:Enterprisey/archiver.js'); // Backlink: [[User:Enterprisey/archiver.js]]
importScript('User:SD0001/RFUD-helper.js'); // Backlink: [[User:SD0001/RFUD-helper.js]]
importScript('User:Enterprisey/live-reload.js'); // Backlink: [[User:Enterprisey/live-reload.js]]
importScript('User:Enterprisey/delsort.js'); // Backlink: [[User:Enterprisey/delsort.js]]
importScript('User:RedWarn/.js'); // Backlink: [[User:RedWarn/.js]]
importScript('User:Awesome Aasim/rcpatrol.js'); // Backlink: [[User:Awesome Aasim/rcpatrol.js]]
importScript('User:Awesome Aasim/xfdvote.js'); // Backlink: [[User:Awesome Aasim/xfdvote.js]]