Jump to content

User:Edgarde/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Edgarde (talk | contribs) at 22:36, 13 May 2010 (attempt to import old 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:AzaToth/twinkle.js');

TwinkleConfig = {
        revertMaxRevisions              :       50,
        userTalkPageMode                :       'tab',
        showSharedIPNotice              :       false,
        openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
        openTalkPageOnAutoRevert        :       false,
        openAOLAnonTalkPage             :       false,
        summaryAd                       :       " [[WP:TWINKLE|TW]]",
        deletionSummaryAd               :       " [[WP:TWINKLE|TW]]",
        protectionSummaryAd             :       " [[WP:TWINKLE|TW]]",
        watchSpeedyPages                :       [ 'g3', 'g5', 'g10', 'g11', 'g12' ],
        watchProdPages                  :       true,
        openUserTalkPageOnSpeedyDelete  :       [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
        watchRevertedPages              :       [ 'agf', 'norm', 'vand', 'torev' ],
        markRevertedPagesAsMinor        :       [ 'vand' ],
        deleteTalkPageOnDelete          :       false,
        watchWarnings                   :       true,
        markAIVReportAsMinor            :       false,
        markSpeedyPagesAsMinor          :       false,
        markProdPagesAsMinor            :       false,
        confirmUsernameToAIV            :       true,
        toolboxButtons                  :       [ ]
};

/* WP:FRIENDLY */
importScript('User:Ioeth/friendly.js');

FriendlyConfig = {
        summaryAd                       :       " using [[WP:FRIENDLY|Fr]]",
        topWelcomes                     :       false,
        watchWelcomes                   :       true,
        markWelcomesAsMinor             :       true,
        watchTaggedPages                :       true,
        markTaggedPagesAsMinor          :       true,
        insertHeadings                  :       true,
        welcomeHeading                  :       "== Welcome ==",
        insertUsername                  :       false,
        insertSignature                 :       true
};

FriendlyConfig.customWelcomeList	=	[
		{
			label: '{{User:TomasBat/Welcome|edgarde}}: Good graphical welcome',
			value: 'User:TomasBat/Welcome|edgarde' }
	];

// [[User talk:Dr pda/persondata.js]]
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]

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


// Es: not loving this one.
// [[User:Ais523/editcount]]
// //Please leave this link: [[User:ais523/editcount.js]]
// document.write('<sc'+'ript type="text/javascript" src="'
//              + 'http://en.wikipedia.org/w/index.php?'
//              + 'title=User:ais523/editcount.js'
//              + '&action=raw&ctype=text/javascript&dontcountme=s"></scr'+'ipt>');


// Es: This counts my edits. Not needed.
// [[User:Interiot/Tool2]]
// document.write('<script type="text/javascript" src="' 
//              + 'http://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js' 
//              + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


// Es: I have all this functionality in Twinkle, except Google
// [[User:Kbh3rd/Vandal_warning_toolbox]]
// Edit tools for the vandal whack-a-mole game
// [[User:Kbh3rd/whackamole.js]] - please include this line
document.write('<script type="text/javascript" src="'
             + 'http://en.wikipedia.org/w/index.php?title=User:Kbh3rd/whackamole.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


// Es: This is awesome.
// [[User:Lupin/Anti-vandal tool]]
// Script from [[User:Lupin/recent2.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


// Es: Keeping this one.
// [[User:Zocky/PicturePopups.js]] - please include this line 

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


// Es: These are okay. Sometimes clumsy, sometimes helpful.
/*  User_talk:Lupin/popups.js */
// [[User:Lupin/popups.js]]

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

/* Es: Popups customizations  */
// [[Wikipedia:Tools/Navigation popups#Configuration_(optional)]]
popupDelay=0.8;
simplePopups=true;
popupAdminLinks=false;
popupShortcutKeys=true;
popupRedlinkRemoval=true;
popupRevertSummaryPrompt=true;
popupQueriedRevertSummary=true;
popupQueriedRevertToPreviousSummary=true;
popupHistoryPreviewLimit=10;

/**** afd helper ****/
document.write('<script type="text/javascript"' + 'src="http://en.wikipedia.org/w/index.php?title=User:Jnothman/afd_helper/' + 'script.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */


/* Es: Needed for Floating quickbar */ 
/* Move top tabs inside body content */

addOnloadHook(function () {
    content = document.getElementById("column-content");    // Find the main content column

    footer = document.getElementById("footer");  // Find the footer
    footer.parentNode.removeChild(footer);    // Remove the footer from the global wrapper
    content.appendChild(footer);    // Place footer at the end of the content column;

    tabs = document.getElementById("p-cactions");   // Find the top tab list
    tabs.parentNode.removeChild(tabs);    // Remove the tab list from the side column
    content.insertBefore(tabs,content.firstChild);    // Place tab list at the beginning of the content column
});
/* Es: End of quickbar include */

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