User:Zyxw/common.js

Source: 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.
// --- Scripts added manually from my user space ---

// test script
// importScript('User:Zyxw/test.js');

// modified copy of [[User:Meteor sandwich yum/Tidy citations.js]]
importScript('User:Zyxw/Tidy citations.js');
autosummary = false;

// modified copy of [[User:Equazcion/SafetyEdit.js]]
importScript('User:Zyxw/SafetyEdit.js');

// modified copy of [[User:Dr pda/persondata.js]]
importScript('User:Zyxw/persondata.js');

// modified copy of [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Zyxw/MOSNUM dates.js');

// local copy of [[:fr:Utilisateur:Ltrlg/scripts/TemplateDataEditor.js]]
// importScript('User:Zyxw/TemplateDataEditor.js');

// local copy of [[User:Salix alba/TDSkell.js]]
// importScript('User:Zyxw/TDSkell.js');

// local copy of [[:de:Benutzer:TMg/autoFormatter.js]]
// English documentation at [[:meta:User:TMg/autoFormatter]]
// German doc: [http://translate.google.com/translate?hl=en&sl=de&u=http://de.wikipedia.org/wiki/Benutzer:TMg/autoFormatter]
// user settings moved to [[User:Zyxw/autoFormatterSettings.js]]
/*
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Zyxw/autoFormatter.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Zyxw/autoFormatterSettings.js&action=raw&ctype=text/javascript' );
*/
importScript('User:Zyxw/autoFormatter.js');
importScript('User:Zyxw/autoFormatterSettings.js');


// --- Scripts added manually from other users, some listed at [[Wikipedia:User scripts]] ---

// [[User:Lupin/popups.js]] with settings as listed
/*
importScript('User:Lupin/popups.js');
popupFixRedirs = true;
popupFixDabs = true;
popupPreviewFirstParOnly = false;
popupMaxPreviewSentences = 10;
popupMaxPreviewCharacters = 1500;
popupPreviewKillTemplates = false;
popupPreviewRawTemplates = true;
*/

// [[Wikipedia:Tools/Navigation popups]] with settings as listed
importScript('MediaWiki:Gadget-popups.js');
importStylesheet('MediaWiki:Gadget-navpop.css');
window.popupFixRedirs = true;
window.popupFixDabs = true;
window.popupPreviewFirstParOnly = false;
window.popupMaxPreviewSentences = 10;
window.popupMaxPreviewCharacters = 1500;
window.popupPreviewKillTemplates = false;
window.popupPreviewRawTemplates = true; //current default, could be removed
 
// Local copy of [[User:TheDJ/movecoord.js]] (which no longer exists)
/*
addOnloadHook( function moveCoord() {
  var coord_elem = document.getElementById( 'coordinates' );
  if( coord_elem ) {
    var ourcontent = document.getElementById( "bodyContent" );
    if( ourcontent ) {
      var tempelem = coord_elem.parentNode.removeChild( coord_elem );
      tempelem.style.position = "relative";
      tempelem.style.top = 0;
      ourcontent.insertBefore( tempelem, ourcontent.firstChild );
    }
  }
});
*/

// [[User:Plastikspork/date.js]] - date formatting
// importScript('User:Plastikspork/date.js');

// [[User:Joeytje50/AWB.js/load.js]] - start at [[Project:AutoWikiBrowser/Script]]
importScript('User:Joeytje50/AWB.js/load.js');

// [[User:PleaseStand/userScriptSandbox.js]] - start at [[Wikipedia:User script sandbox]]
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:PleaseStand/userScriptSandbox.js&action=raw&ctype=text/javascript" );

// importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. Wang/pageswap]]
importScript( 'User:Ahecht/Scripts/pageswap.js' ); // Backlink: [[User:Ahecht/Scripts/pageswap]]

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

// --- Scripts added via ScriptInstaller ---

/* User:Equazcion/ScriptInstaller.js */
importScript( 'User:Equazcion/ScriptInstaller.js' );// Backlink: [[User:Equazcion/ScriptInstaller.js]]
importScript('User:Ohconfucius/script/Sources.js'); //Linkback: [[User:Ohconfucius/script/Sources.js]] Added by Script installer
importScript('User:Equazcion/ActiveWatchers.js'); //Linkback: [[User:Equazcion/ActiveWatchers.js]] Added by Script installer
importScript('User:Waldir/formatcitations.js'); //Linkback: [[User:Waldir/formatcitations.js]] Added by Script installer
importScript('User:Frietjes/findargdups.js'); //Linkback: [[User:Frietjes/findargdups.js]] Added by Script installer
importScript('User:קיפודנחש/cat-a-lot.js'); //Linkback: [[User:קיפודנחש/cat-a-lot.js]] Added by Script installer
importScript('User:Frietjes/infoboxgap.js'); //Linkback: [[User:Frietjes/infoboxgap.js]] Added by Script installer