User:Joeytje50/common.js
Appearance
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Joeytje50 (talk | contribs) at 13:09, 3 May 2025 (change import for archiver because the old one doesn't seem to work anymore). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision .Revision as of 13:09, 3 May 2025 by Joeytje50 (talk | contribs) (change import for archiver because the old one doesn't seem to work anymore)
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.
This code will be executed when previewing this page.
The accompanying .css page for this skin is at User:Joeytje50/common.css.
importScript('User:Joeytje50/shortLink.js'); varJWBdev=false; if(!JWBdev){ importScript('User:Joeytje50/JWB.js/load.js');// Backlink: [[User:Joeytje50/JWB.js/load.js]] } importScript('User:Joeytje50/JWB/feed.js');// Backlink: [[User:Joeytje50/JWB/feed.js]] $(function(){ $('h2 .mw-headline').before(function(){ return'<a class="sectionlink" href="#'+this.id+'">#</a>'; }); }); /**** Import dev JWB analogous to [[../JWB.js/load.js]]. Please do not import this version of the JWB script; all finalized features will be added to the main JWB as soon as possible. ****/ if(JWBdev){ $.when(mw.loader.using(['mediawiki.util'],$.ready)).done(function(){ mw.util.addPortletLink("p-tb",mw.config.get('wgArticlePath').replace('1ドル',"Project:AutoWikiBrowser/Script"),"JS Wiki Browser","tb-awbscript","Run Javascript Wiki Browser"); }); if(mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle')==='Project:AutoWikiBrowser/Script'&&mw.config.get('wgAction')=='view') mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/dev/JWB.js&action=raw&ctype=text/javascript'); } mw.loader.load('/w/index.php?title=User:Andrybak/Scripts/Archiver.js&action=raw&ctype=text/javascript');// Backlink: [[User:Andrybak/Scripts/Archiver]]