Jump to content

User:Certes/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:Certes/AutoEd.js'); // was: importScript('Wikipedia:AutoEd/complete.js');
//importScript('User:Topbanana/RLRL_SR_Utility.js' );
importScript( 'User:Certes/DisamAssist.js' );
importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Topbanana/RLRL_SR_Utility.js&action=raw&ctype=text/javascript');
mw.loader.load( "https://de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-DeepCat.js&action=raw&ctype=text/javascript" );
importScript( 'User:The Transhumanist/SearchSuite.js' ); // Backlink: User:The Transhumanist/SearchSuite.js
if (mw.config.get('wgAction') === 'purge') { $('form[action*="action=purge"]').submit(); } /* Automate purge confirmation dialog */
importScript('User:SD0001/sandbox4.js'); // Linkback: [[User:User:SD0001/sandbox4.js]]
var wikEdConfig = {};
wikEdConfig.regExTypoFix = true;
// install [[User:Cacycle/wikEd]] in-browser text editor
// ( function () { var script = document.createElement( 'script' ); script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'; script.async = true; document.getElementsByTagName( 'head' )[ 0 ].appendChild( script ); } ) ();
importScript( 'User:Enterprisey/script-installer.js' ); // Backlink: [[User:Enterprisey/script-installer.js]]
importScript('User:Enterprisey/sync-template-sandbox.js'); // Backlink: [[User:Enterprisey/sync-template-sandbox.js]]
importScript('User:DannyS712/Subcategories.js'); // Backlink: [[User:DannyS712/Subcategories.js]]
importScript('User:SD0001/hide-reverted-edits.js'); // Backlink: [[User:SD0001/hide-reverted-edits.js]]
importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
mw.loader.load( '/w/index.php?title=User:GhostInTheMachine/SortWhatLinksHere.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:GhostInTheMachine/SortWhatLinksHere.js]]
importScript('User:SD0001/deleted-metadata-link.js'); // Backlink: [[User:SD0001/deleted-metadata-link.js]]
importScript('User:Certes/typo.js'); // Modified from: [[User:Uziel302/typo.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Certes/unlink days.js'); // Backlink: [[User:Certes/unlink days.js]]
importScript('User:MusikAnimal/dablinkwarn.js'); // Backlink: [[User:MusikAnimal/dablinkwarn.js]]
importScript(':de:User:Schnark/js/search++.js'); // Backlink/Ursprung: [[:de:Benutzer:Schnark/js/search++.js]]
window.autoWatchlistExpiry = "1 week";
importScript('User:Rummskartoffel/auto-watchlist-expiry.js'); // Backlink: [[User:Rummskartoffel/auto-watchlist-expiry.js]]
// Now a preference importScript('User:Js/ajaxPreview.js'); // Backlink: [[User:Js/ajaxPreview.js]]
/**
 * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
 * @see [[meta:TemplateScript]]
 * @update-token [[File:Pathoschild/templatescript.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' ); // [[m:User:Jon Harald Søby/diffedit.js]]
importScript('User:SD0001/W-Ping.js'); // Backlink: [[User:SD0001/W-Ping.js]]
mw.config.set('wgPostEditConfirmationDisabled', true); // Prevent "Been saved" box from obscuring useful links
importScript('User:Suffusion of Yellow/mark-reverted.js'); // Backlink: [[User:Suffusion of Yellow/mark-reverted.js]]
$(document).ready(function(){ $('input#wpSummary').keypress(function(e){ if(e.which==13) e.preventDefault(); }); }); // Prevent accidental submits
window.wpDarkModeAutoToggle = true;

// Enable NavPopups features, except where inappropriate 
var popupFix = ! ( mw.config.get( 'wgCanonicalNamespace' ) === 'Special' ||
	$.inArray( mw.util.getParamValue( 'action' ), [ 'history', 'submit' ] ) !== -1 );
window.popupRedlinkRemoval = popupFix;
window.popupFixRedirs = popupFix;
window.popupFixDabs = popupFix;
importScript('User:Nux/CategorySortKeys.js'); // Backlink: [[User:Nux/CategorySortKeys.js]]
mw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-MiniEdit' );