MediaWiki:Gadget-Subpages.js

// Subpages by User:PrimeHunter on English Wikipedia // Licensed under CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/) /* // Source: https://en.wikipedia.org/wiki/User:PrimeHunter/Subpages.js */

$( document ).ready( function { mw.util.addPortletLink( 'p-tb', mw.util.getUrl( 'Special:PrefixIndex/' ) + mw.config.get('wgPageName') + '/', 'Subpages', 't-subpages', 'Show subpages of the current page', null, '#t-info' ); });