MediaWiki:Timeless.js

/* Any JavaScript here will be loaded for users of the Timeless skin */

/* Add subpages toolbox link on user pages */ $(function {	var title = mw.config.get('wgTitle');	if (mw.config.get('wgCanonicalNamespace') === 'User' && !title.includes('/')) {		var subpagesLink = '/Special:PrefixIndex/User:' + title + '/';		mediaWiki.util.addPortletLink('p-userpagetools', subpagesLink, 'User subpages', 't-subpages', 'Subpages of this page');	} });