User:BabylonAS/common.js

$( function { 'use strict';

// Add a subpages link to pages if ( mw.config.get( 'wgArticleId' ) !== 0 ) { mw.util.addPortletLink (		'p-tb',		'/Special:PrefixIndex/' + mw.config.get( 'wgRelevantPageName' ) + '/',		'Subpages',		't-subpages',		'Subpages of the page'	); }

} );