Jump to content

User:Barek/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Barek (talk | contribs) at 05:10, 7 June 2010 (adjust). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
// Custom navigation tabs at top of page 
// provides sub-tabs for article and talk pages at the same time
// importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs');
 
// Custom navigation tabs at top of page 
// Attempt at work-around for Six-tabs not working under vector skin
importScript("User:Svick/DropDownToTabs.js");

// EasyBlock script by Animum 
importScript("User:Animum/easyblock.js"); //[[User:Animum/easyblock.js]]
 
// Highlights admin signatures - color used is set in [[User:Barek/monobook.css]]
// [[User:Ais523 non-admin/adminrights.js]]
importScript('User:Ais523 non-admin/adminrights.js');
 
// This script adds custom links to the interaction portlet.
addOnloadHook(function () {
    addPortletLink('p-interaction', 'http://en.wikipedia.org/w/index.php?title=Special:RecentChangesLinked&hidebots=0&target=' +
                   'User:Barek/userspace','My user content')
});

// This script adds custom links to the personal nav portlet. (based on User:Plastikspork/admindash.js)
addOnloadHook(function () {
    addPortletLink( "p-personal", wgServer + wgScriptPath + "/index.php?title=User:Barek/tools", "admin tools",
                   "pt-admintools", "Link to admin tools", "A", document.getElementById("pt-logout"));
});

// This script adds custom links to the toolbox portlet. (based on User:X!/userrights.js)
addOnloadHook(function () {
    if (wgNamespaceNumber != "2" && wgNamespaceNumber != "3")
                   return; 
    var title = wgTitle;
    addPortletLink('p-tb', '/wiki/Special:Userrights/'+wgTitle,
                   'User rights', 't-userrights', 'Check user rights');
});
 
// CommonsHelper Helper (CH²) by Krimpet
// [[User:Krimpet/CH2.js]] (calls [[User:Krimpet/CH2_en.js]])
// importScript('User:Krimpet/CH2.js');
 
// Highlights redirects used on a given page
// [[User:Splarka/dabfinder.js]]
// importScript('User:Splarka/dabfinder.js');
 
// Add links in the "toolbox" for Google and Yahoo! searches
// [[Wikipedia:WikiProject User scripts/Scripts/Google link]] 
// importScript('Wikipedia:WikiProject User scripts/Scripts/Google link');