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 06:25, 2 December 2013 (copy everything from User:Michael Bednarek/monobook.js.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]

 // Configure Navigation popups
 popupRevertSummaryPrompt=true;
 popupStructure='menus';
 popupFixDabs=true;

 // [[User:Jsimlo/shortcuts.js]]
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Jsimlo/shortcuts.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
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:GregU/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:
$j(function() {
$j('div.thumb div.thumbinner a.image, div.gallerybox div.thumb a.image').each(function() {
var $this = $j(this);
if (/\/commons\//.test($this.find('img').attr('src')))
   $this.attr('href', $this.attr('href').replace(/^\/wiki\/File:/, 'http://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]]