User:Bility/common.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.
This code will be executed when previewing this page.
The accompanying .css page for this skin is at User:Bility/common.css.
// Search and replace
// Author: User:Zocky
// Modified by: User:Bility
importScript('User:Bility/zockys_SearchBox.js');
// Edit counter
// Author: User:Najzere @ strategywiki.org
// var editPage = 'Edit count';
// var tableClass = '';
// var tableStyle = 'float:right;width:150px';
// mw.loader.load('http://strategywiki.org/w/index.php?title=User:Najzere/edit_counter.js&action=raw&ctype=text/javascript');
// Status updater
// Author: User:Bility
// var hideStatus = true;
// importScript('User:Bility/statusupdate.js');
// History page 24 hour to 12 hour time converter
// Author: User:Bility
// importScript('User:Bility/convert24hourtime.js');
// Archive talk page by section
// Author: User:Bility
// importScript('User:Bility/archiveTalkSections.js');
// Copy/paste text for linking to sections
// Author: User:Bility
// importScript('User:Bility/copySectionLink.js');
// Add test link for listas parameter generator for use with Template:WikiProject Biography
// Author: User:Bility
importScript('User:Bility/biographyListasGenerator.js');
// Add stuff on page load
$(document).ready(function() {
// Add link directly to sub-pages of the current page
mw.util.addPortletLink('p-tb','/w/index.php?title=Special:PrefixIndex&prefix='+mw.config.get('wgTitle')+'/'+'&namespace='+mw.config.get('wgNamespaceNumber'),'Sub-pages','t-subpages','View sub-pages',false,'#t-recentchangeslinked');
});