User:Barek/monobook.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Barek/monobook.css. |
// 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');