Manual:$wgShortPagesNamespaceBlacklist

Details
Only pages inside but not inside this config  will be shown on that page.