Jump to content

User:Dabomb87/vector.js

From 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.
importScript('User:AzaToth/twinkle.js');
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
       TwinkleConfig.watchProdPages = false ;
       TwinkleConfig.watchRevertedPages = [];
       TwinkleConfig.watchWarnings = false;


importScript('User:Ioeth/friendly.js');
if( typeof( FriendlyConfig) == 'undefined' ) FriendlyConfig= {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS
        FriendlyConfig.enableClock = true;
        FriendlyConfig.watchWelcomes = false;
        FriendlyConfig.watchTaggedPages = false,
        FriendlyConfig.idsToRename = [];

importScript('User:Lightmouse/monobook.js/script.js');
/*function addlilink(tabs, url, name, id, title, key){
    var na = document.createElement('a');
    na.href = url;
    na.appendChild(document.createTextNode(name));
    var li = document.createElement('li');
    if(id) li.id = id;
    li.appendChild(na);
    tabs.appendChild(li);
    if(id)
    {
        if(key && title)
        {
            ta[id] = [key, title];
        }
        else if(key)
        {
            ta[id] = [key, ''];
        }
        else if(title)
        {
            ta[id] = ['', title];
        }
    }
    // re-render the title and accesskeys from existing code in wikibits.js
    akeytt();
    return li;
}
 
function addTab(url, name, id, title, key){
    var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];
    return addlilink(tabs, url, name, id, title, key)
};

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Brighterorange/punctuation.js' 
*/             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
// [[User:Lupin/popups.js]]

importScript('User:Lupin/popups.js');
popupFixRedirs = true;
popupFixDabs = true;

importScript('User:Gary King/localize comments.js');
LocalizeConfig = { dateFormat : 'dmy' };
importScript('User:Splarka/dabfinder.js');
importScript('User:Pyrospirit/metadata.js'); //[[User:Pyrospirit/metadata.js]]
importScript('User:Gary King/hide rollback in watchlist.js');
importScript('User:Dr pda/generatestats.js'); //[[User:Dr pda/generatestats.js]]
 
importScript('User:Dr pda/articlehistory.js');
importScript('User:Dr pda/editrefs.js'); //[[User:Dr pda/editrefs.js]]
importScript('User:Shubinator/DYKcheck.js'); //[[User:Shubinator/DYKcheck.js]]
importScript('User:Cameltrader/Advisor.js');
importScript('User:Apoc2400/refToolbarPlus.js');

//WatchlistConfig = { ignorePages: [
//	'User:Gary King', 
//	'Talk:Texas', 
//	'Wikipedia talk:Manual of Style (dates and numbers)',
//      'Wikipedia:Featured article candidates',
//], };
 
importScript('User:Gary King/hide pages in watchlist.js');
importScript('User:Plastikspork/monobook.js/script.js');
importScript('User:Plastikspork/date.js');
// install [[User:Cacycle/wikEd]] in-browser text editor
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
var wikEdDisabledPreset = false;
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
importScript("User:GregU/dashes.js");
$(function()
{
	/*
		Disable accesskey for logo
	*/
	
	/*
		Add 'Search' and 'Books help' link to Navigation
	*/
	var ul = document.getElementById('p-navigation').childNodes[3].childNodes[1];
	
	/*var li = document.createElement('li');
	li.id = 'n-search';
	li.innerHTML = '<a title="Search" href="/wiki/Special:Search">Search</a>';
	ul.insertBefore(li, ul.lastChild);*/
	
	var li = document.createElement('li');
	li.id = 'n-bookshelp';
	li.innerHTML = '<a title="Show help about the book tool" href="/wiki/Help:Books">Books help</a>';
	ul.insertBefore(li, ul.lastChild);
	
	/*
		Add horizontal rule below standard links in Toolbox
	*/
	var last_hr_id;
	if (document.getElementById('t-download-as-pdf'))
		last_hr_id = document.getElementById('t-download-as-pdf');
	else
		last_hr_id = document.getElementById('t-specialpages');
	
	ul = document.getElementById('p-tb').childNodes[3].childNodes[1];
	var hr = document.createElement('hr');
	if (last_hr_id != ul.lastChild.previousSibling)
		ul.insertBefore(hr, last_hr_id.nextSibling);
});
importScript('User:Gary King/nominations viewer.js');
importScript('User:Ohconfucius/EngvarB.js');