Jump to content
Wikipedia The Free Encyclopedia

User:Barek/vector.js

From Wikipedia, the free encyclopedia
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/vector.css.
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');

 //[[user:js/6tabs-vector]]
 importScript('user:js/6tabs-vector.js')

 // EasyBlock script by Animum 
 importScript("User:Animum/easyblock.js");//[[User:Animum/easyblock.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 (CH2) 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');

AltStyle によって変換されたページ (->オリジナル) /