User:JackPotte/monobook.js

$(function {  var NSWithoutSubpages = new Array(-1, 0, 6, 8, 12, 13, 14, 15, 104, 105);  if (document.getElementById('p-tb') && NSWithoutSubpages.indexOf(wgNamespaceNumber) == -1)    {    var lienSouspages = '/wiki/Special:PrefixIndex/' + wgPageName + '/';    mw.util.addPortletLink('p-tb', lienSouspages, 'Sub-pages', 't-subpages', 'Sub-pages of this page');    } });