User:XXN/common.js

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:XXN/JWB.js/load.js&action=raw&ctype=text/javascript');

if (mw.config.get('wgNamespaceNumber') === -1) { mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:XXN/massrename.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:XXN/me2.js&action=raw&ctype=text/javascript'); }

window.hotcat_use_category_links = true;

if (mw.config.get('wgNamespaceNumber') === 6) { var images = document.getElementById('file').getElementsByTagName('img'); var imageurl = images[0].parentNode.href; $(function {     mw.util.addPortletLink('p-cactions', 'https://www.google.com/searchbyimage?image_url=' + encodeURIComponent(imageurl), 'Google Images');    mw.util.addPortletLink('p-cactions', 'http://tineye.com/search?url=' + encodeURIComponent(imageurl), 'Tineye', 'ca-tineye');  });

// by m:user:Hoo man  mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript'); // if(typeof window.taggerConfig === 'undefined') window.taggerConfig = {}; taggerConfig.tags = []; taggerConfig.editSummary = []; taggerConfig.tags[1] = ''; taggerConfig.editSummary[taggerConfig.tags[1]] = 'now Commons'; taggerConfig.tags[2] = ''; taggerConfig.editSummary[taggerConfig.tags[2]] = 'Added '; taggerConfig.tags[3] = ''; taggerConfig.editSummary[taggerConfig.tags[3]] = ''; taggerConfig.tags[4] = ''; taggerConfig.editSummary[taggerConfig.tags[4]] = ''; taggerConfig.customTagDefault = ''; //taggerConfig.editSummary[taggerConfig.customTagDefault] = ''; //''; // } if (mw.config.get('wgNamespaceNumber') === 2) { // by m:user:Hoo man  mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript'); // if(typeof window.taggerConfig === 'undefined') window.taggerConfig = {}; taggerConfig.tags = []; taggerConfig.editSummary = []; taggerConfig.tags[1] = ''; taggerConfig.editSummary[taggerConfig.tags[1]] = ''; taggerConfig.tags[2] = ''; taggerConfig.editSummary[taggerConfig.tags[2]] = ''; taggerConfig.tags[3] = ''; taggerConfig.editSummary[taggerConfig.tags[3]] = ''; taggerConfig.customTagDefault = ''; // }

// User:Equazcion/OneClickArchiver.js //importScript( 'User:Equazcion/OneClickArchiver.js' );// Backlink: User:Equazcion/OneClickArchiver.js

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:XXN/CAL.js&action=raw&ctype=text/javascript'); //importScript('User:Frietjes/masspurge.js');

//importScript('Wikipedia:AutoEd/complete.js');

//importScript('User:Anomie/pagestats.js //importScript('User:Kbh3rd/whackamole.js');

window.charinsertCustom = { "Wiki markup": "       +   ==References==  ==Notes==   ==External.links==    ==See.also==" };

//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript'); var b=document.getElementById('p-interaction');

b.innerHTML=' '+b.innerHTML;

if (mw.config.get( "wgAction" ) == 'edit' || mw.config.get( "wgAction" ) == 'submit') { $('.editpage-head-copywarn').hide; } /* moved to global $('#editpage-copywarn').hide; $('.editpage-head-copywarn').hide; /* $('.permissions-errors').hide; $('.editnotice-area').hide; //$('.mbox-text').hide; $('#mw-warning-with-logexcerpt mw-content-ltr').hide;

//importScript('User:XXN/VFC.js');

/* $(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "http://dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName') + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'), "Reflinks" // link label )}); }