Jump to content

User:Barek-public/chick.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.
// 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');

// 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.
$(function () {
    mw.util.addPortletLink('p-navigation', mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=User:Barek/tools', 
                   'Admin tools', 'pt-admintools', 'Link to admin tools' )
});

// This script adds custom links to the personal nav portlet. (based on User:Plastikspork/admindash.js)
$(function () {
    mw.util.addPortletLink('p-personal', mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=Special:RecentChangesLinked&hidebots=0&target=User:Barek/userspace', 
                   'My user content', 'pt-usercontent', 'Track my user content changes', 'A', document.getElementById("pt-watchlist"));
});

// This script adds custom links to the toolbox portlet. (based on User:X!/userrights.js)
$(function () {
    if (wgNamespaceNumber != "2" && wgNamespaceNumber != "3")
                   return; 
    var title = wgTitle;
    mw.util.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');