17,260
edits
mNo edit summary |
(addPortletLink -> mw.util.addPortletLink) |
||
Line 4: | Line 4: | ||
if ( document.getElementById( 'p-tb' ) && NSWithoutSubpages.indexOf( wgNamespaceNumber ) == -1 ) { | if ( document.getElementById( 'p-tb' ) && NSWithoutSubpages.indexOf( wgNamespaceNumber ) == -1 ) { | ||
var subpagesLink = '/wiki/Special:PrefixIndex/' + wgPageName + '/'; | var subpagesLink = '/wiki/Special:PrefixIndex/' + wgPageName + '/'; | ||
addPortletLink( 'p-tb', subpagesLink, 'Subpages', 't-subpages', 'Subpages of this page' ); | mw.util.addPortletLink( 'p-tb', subpagesLink, 'Subpages', 't-subpages', 'Subpages of this page' ); | ||
} | } | ||
}); | }); |