User:MB/common.js

// User:Dr pda/prosesize mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr_pda%2Fprosesize.js&action=raw&ctype=text/javascript');

importScript( 'User:Markhurd/hidetopcontrib.js' ); // Backlink: User:Markhurd/hidetopcontrib.js userHideAllSubsequent=true;

/* Adds a toolbox link to do a copyvio check on the given page. */

mw.loader.using("mediawiki.util", function {   mw.util.addPortletLink( "p-tb", "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase + "&title=" + encodeURIComponent(mw.config.get("wgPageName")), "Copyvio check", "t-copyvio-check", "Check this page for copyright violations" ); });

if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere') importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // User:V111P/js/whatLinksHereLinkFilter.js importScript("User:Mvolz/displayContributions.js");

// change reftoolbar access-date date format to mdy $('head').one('reftoolbarbase', function {  CiteTB.UserOptions['date format'] = " , ";   CiteTB.UserOptions['autodate fields'] = ['accessdate']; });

removesmalltags = 'yes';

importScript("User:Frietjes/indent.js"); var thumbfixdiffpreview = 'none'; importScript('User:Frietjes/thumb-fixer.js');

importScript('User:Lourdes/Backlinks.js'); // Linkback: User:Lourdes/Backlinks.js

// list of "todo" pages and button legends for PageCollector var pagesToCollect = [ {page: 'User:MB/Tools', caption: 'Tools'}, {page: 'User:MB/ToDo', caption: 'ToDos'} ];

// load pageCollector script: importScript('User:קיפודנחש/pageCollector.js');// list of "todo" pages and button legends for PageCollector

importScript('User:Evad37/TextDiff.js'); // User:Evad37/TextDiff

importScript("User:The Transhumanist/WatchlistSorter.js");

importScript('User:Evad37/rater.js');

/* This script adds "Source links" below "What links here" in the sidebar. "What links here" will include pages using a template with the link. "Source links" tries to search for pages where the link is in the source. To use the script, add the following line to Special:MyPage/common.js: importScript('User:PrimeHunter/Source links.js'); // Linkback: User:PrimeHunter/Source links.js



mw.loader.using(['mediawiki.util'], function {  var name = mw.config.get( 'wgPageName' ).replace("Special:WhatLinksHere/", "");  mw.util.addPortletLink( 'p-tb', mw.util.getUrl( 'Special:Search' ) + '?profile=all&search=' + encodeURIComponent('linksto:"' + name + '" ' + 'insource:"' + name + '" ' +   'insource:/\\[\\[:?[' + name[0] + name.charAt(0).toLowerCase + ']' +    name.substring(1) + '[\\]\\|#]/' ).replace(/_/g, " "), 'Source links', 'pt-sourcelinks', 'What links here in the source', null, '#t-recentchangeslinked' ); });

importScript("User:PleaseStand/userinfo.js"); /* importScript("User:Wugapodes/Capricorn.js");

importScript("User:Dudemanfellabra/AddCommonsCatLinks.js");

importScript( 'User:DannyS712/Easy-link.js' );

importScript('User:MB/edit summary.js');

importScript('User:Enterprisey/cv-revdel.js');

importScript('User:Kaniivel/RefConsolidate_start.js' );

importScript('User:Writ Keeper/Scripts/deletionFinder.js');

importScript("User:RedWarn/.js");

importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' );

importScript('User:Bradv/Scripts/Superlinks.js');

importScript('User:MPGuy2824/Evad37/MoveToDraft.js');

importScript('User:Frietjes/listhelper.js');

mw.config.set('wgPostEditConfirmationDisabled', true); /* no edit saved box (new right version) */

importScript('User:Andy M. Wang/pageswap.js');

// Prevent accidental submits $(document).ready(function{   $('input#wpSummary').keypress(function(e){ if(e.which==13) e.preventDefault; }); });

importScript('User:Bradv/Scripts/Superlinks.js');

importScript('User:SD0001/easy-merge.js'); // User:SD0001/easy-merge.js