Jump to content

User:Michael Bednarek/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Michael Bednarek (talk | contribs) at 11:29, 1 November 2023 (popupDabRegexp: widen the term {{surname.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
 // Configure Navigation popups
 popupRevertSummaryPrompt=true;
 popupStructure='menus';
 popupFixDabs=true;
 popupDabRegexp='disambiguation\\}\\}|\\{\\{surname|\\{\\{\\s*(d(ab|isamb(ig(uation)?)?)|disambiguation\\}\\}|(((geo|hn|road?|school|number)dis)|[234][lc][acw]|(road|ship)index))\\s*(\\|[^}]*)?\\}\\}|is a .*disambiguation.*page';

importScript('User:Jsimlo/shortcuts.js'); // Linkback: [[User:Jsimlo/shortcuts.js]]
 
function shortcutsInit ()
{ 
  shortcutsAddLink ('My tools', 'User:Michael_Bednarek/ToolBox');
}

importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]

importScript("User:Ohconfucius/dashes.js"); // Linkback: [[User:Ohconfucius/dashes.js]]

// 28-Oct-2012:
// importScript('Wikipedia:AutoEd/complete.js');

// This will skip the local image description page for images at Commons
// Source: http://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=82983986
// 19-Feb-2011: Apparently there is an unmatched/unterminated parenthetical in this code; disable for now.
// 7-Nov-2011: enable it again:
// 7-Jun-2015: disable and replace with [[MediaWiki:Gadget-imagelinks.js]]
/*
$(function() {
$('div.thumb div.thumbinner a.image, div.gallerybox div.thumb a.image').each(function() {
var $this = $(this);
if (/\/commons\//.test($this.find('img').attr('src')))
   $this.attr('href', $this.attr('href').replace(/^\/wiki\/File:/, 'https://commons.wikimedia.org/wiki/File:'));
});
});
*/

importScript('User:Ohconfucius/script/MOSNUM dates.js');  //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Ohconfucius/script/Common Terms.js');  //[[User:Ohconfucius/script/Common Terms.js]]
importScript('User:WikiMasterGhibif/capitalize.js'); // Backlink: User:WikiMasterGhibif/capitalize.js
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]
importScript('User:קיפודנחש/cat-a-lot.js'); // User:קיפודנחש/cat-a-lot.js
importScript('User:Evad37/duplinks-alt.js'); // [[User:Evad37/duplinks-alt]]
importScript('User:Ucucha/HarvErrors.js'); // [[User:Ucucha/HarvErrors.js]]
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Cobaltcigs/IllWill.js'); // [[User:Cobaltcigs/IllWill.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" );