5,360
edits
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
var title = mw.config.get('wgTitle'); | var title = mw.config.get('wgTitle'); | ||
if (namespace === 'User' && title.indexOf('/') < 0) { | if (namespace === 'User' && title.indexOf('/') < 0) { | ||
var subpagesLink = '/Special:PrefixIndex/User:' + title; | var subpagesLink = '/Special:PrefixIndex/User:' + title + '/'; | ||
mediaWiki.util.addPortletLink('p-tb', subpagesLink, 'User subpages', 't-subpages', 'Subpages of this page'); | mediaWiki.util.addPortletLink('p-tb', subpagesLink, 'User subpages', 't-subpages', 'Subpages of this page'); | ||
} | } |