User:Opencooper/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. |
![]() | The accompanying .css page for this skin is at User:Opencooper/common.css. |
// Show number of talk page messages
importScript('User:Opencooper/talkCount.js');
// Easily link to subsections with an invisible pilcrow
importScript('User:Bility/copySectionLink.js'); //Linkback: [[User:Bility/copySectionLink.js]]
// Show user information under user page
importScript("User:PleaseStand/userinfo.js"); // Backlink: [[User:PleaseStand/userinfo.js]]
// View pageviews (Available in "More" tab)
// importScript( 'User:קיפודנחש/viewstats.js' ); // Backlink: [[User:קיפודנחש/viewstats.js]]
// Highlight some errors
importScript( 'User:Opencooper/highlightStrings.js' );
// Show last edit to page
importScript( 'User:Opencooper/lastEdit-dev.js' );
// Replace all png thumbnails for svgs with their actual vector files
// importScript('User:Opencooper/svgReplace.js');
// Show images that other language wikis have
importScript('User:Opencooper/otherImages.js');
// Indicate that a redirect from a domain is needed
importScript('User:Opencooper/domainRedirect.js');
// TemplateScript functions for editing. Available in the sidebar
importScript('User:Opencooper/templateScripts.js');
// Collapse bot comments on talk pages
importScript('User:Opencooper/collapseBots.js');
// Show dictionary hits for showKanji
// importScript('User:Opencooper/jishoResult.js');
// Add kanji under title
importScript('User:Opencooper/showKanji-dev.js');
// Show wikidata description
// importScript('User:Opencooper/wikidataDescription.js');
// Add read more cards to bottom of article as in mobile
if (mw.config.get("wgAction") === "view"
&& !location.search.split('oldid=')[1]) {
mw.loader.using('ext.relatedArticles.readMore.bootstrap');
}
// For CSS expansion effect
$("span[lang='ja']").removeAttr("title");
// Add emoji representations of IPs
importScript('User:Opencooper/IPtoEmoji.js');
// Hide reverted edits in History
importScript('User:SD0001/hide-reverted-edits.js'); // [[User:SD0001/hide-reverted-edits.js]]
// Speak IPA
importScript('User:IagoQnsi/ipareader.js'); // [[User:IagoQnsi/ipareader.js]]
// Javascript Wiki Browser
importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
// Find subpages of current page (Available in "Page" tab)
importScript('User:BrandonXLF/subpages.js'); // Backlink: [[User:BrandonXLF/subpages.js]]
// Highlight duplicate links (Available in sidebar under "Tools")
importScript('User:Evad37/duplinks-alt.js'); // [[User:Evad37/duplinks-alt]]
// Search logs using regex (Available in "More" tab)
mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-rightsfilter.js&action=raw&ctype=text/javascript');
// Make article formatting consistent (Available in sidebar under "Tools")
// importScript('User:Ohconfucius/script/formatgeneral.js'); // [[User:Ohconfucius/script/formatgeneral.js]]
// Delink common terms
importScript('User:Ohconfucius/script/Common Terms.js'); // [[User:Ohconfucius/script/Common Terms.js]]
// Deletion sorting (Available in "More" tab)
importScript( 'User:APerson/delsort.js' ); // Backlink: [[User:APerson/delsort.js]]
// Link to search archives for dead anchors
importScript('User:SD0001/find-archived-section.js'); // [[User:SD0001/find-archived-section.js]]
// Show default sort in HotCat format
importScript('User:BrandonXLF/HotDefaultSort.js'); // [[User:BrandonXLF/HotDefaultSort.js]]
// More easily view page move history
importScript('User:Nardog/MoveHistory.js'); // [[User:Nardog/MoveHistory.js]]
// Standardize date formats
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
// Expand ToC
importScript('User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js'); // Backlink: [[User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js]]