MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ mw.hook('wikipage.categories').add((content) => {	if (content[0].id == 'catlinks' && content[0].childElementCount > 0) {		content			.wrap(' ')			.closest('details')			.prepend(' Show full category list ');	} });