Jump to content

User:Barek/monobook.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
// Restore the orange notice so notices actually, you know, notify me
importScript ('User:Writ Keeper/Scripts/orangeBar.js');

// 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]] >> [[User:Amalthea/userhighlighter.js]] >> [[User:Theopolisme/Scripts/adminhighlighter.js]]
// importScript('User:Amalthea/userhighlighter.js'); 

// This script adds custom links to the navigation portlet.
mw.util.addPortletLink('p-navigation','https://utrs.wmflabs.org/home.php',
                   'UTRS', 'pt-utrs', 'Link to UTRS' );
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)
mw.util.addPortletLink('p-personal', mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=Special:RecentChangesLinked&days=14&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)
// addOnloadHook(function () {
//    if (mw.config.get('wgNamespaceNumber') != "2" && mw.config.get('wgNamespaceNumber') != "3")
//                   return; 
//    var title = mw.config.get('wgTitle');
//    mw.util.addPortletLink('p-tb', '/wiki/Special:Userrights/'+mw.config.get('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');